From d9151fa3c1aaf54f49e4989a1077a46a90daaa67 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 15 Jul 2015 19:47:59 +0300 Subject: [PATCH] Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set. By: Antony Riley --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java index 5f123e32dc..7c3adbbf6f 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java +++ b/paper-server/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,