From bf4818b94a4794a38c71d4a79b469e0cab9e35e4 Mon Sep 17 00:00:00 2001 From: Antony Riley Date: Wed, 15 Jul 2015 19:47:59 +0300 Subject: [PATCH] Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set. --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java index 5f123e32dc..7c3adbbf6f 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java @@ -799,6 +799,7 @@ class CraftMetaItem implements ItemMeta, Repairable { DISPLAY.NBT, REPAIR.NBT, ENCHANTMENTS.NBT, + HIDEFLAGS.NBT, CraftMetaMap.MAP_SCALING.NBT, CraftMetaPotion.POTION_EFFECTS.NBT, CraftMetaSkull.SKULL_OWNER.NBT,