13
0
geforkt von Mirrors/Paper

Fix CraftMetaShield equality (#11232)

Dieser Commit ist enthalten in:
Lulu13022002 2024-08-10 15:08:00 +02:00
Ursprung 13a62521b0
Commit 1569c093c5

Datei anzeigen

@ -1618,7 +1618,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
if (meta instanceof CraftMetaShield that) {
- 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;
}