geforkt von Mirrors/Paper
Fix CraftMetaShield equality (#11232)
Dieser Commit ist enthalten in:
Ursprung
13a62521b0
Commit
1569c093c5
@ -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;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren