From 1569c093c507439c1531110de848dd09af9ef883 Mon Sep 17 00:00:00 2001 From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Date: Sat, 10 Aug 2024 15:08:00 +0200 Subject: [PATCH] Fix CraftMetaShield equality (#11232) --- patches/server/General-ItemMeta-fixes.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/server/General-ItemMeta-fixes.patch b/patches/server/General-ItemMeta-fixes.patch index 04d821b986..7f007b78b9 100644 --- a/patches/server/General-ItemMeta-fixes.patch +++ b/patches/server/General-ItemMeta-fixes.patch @@ -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; }