mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Fix CraftMetaShield equality (#11232)
This commit is contained in:
parent
13a62521b0
commit
1569c093c5
1 changed files with 1 additions and 1 deletions
|
@ -1618,7 +1618,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
}
|
}
|
||||||
if (meta instanceof CraftMetaShield that) {
|
if (meta instanceof CraftMetaShield that) {
|
||||||
- return Objects.equal(this.banner, that.banner);
|
- return Objects.equal(this.banner, that.banner);
|
||||||
+ return Objects.equal(this.baseColor, that.baseColor) && Objects.equal(this.hasPatterns(), that.hasPatterns()); // Paper - general item meta fixes - decoupled base colour and patterns
|
+ return Objects.equal(this.baseColor, that.baseColor) && Objects.equal(this.patterns, that.patterns); // Paper - general item meta fixes - decoupled base colour and patterns
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue