Fix ItemStack.isSimilar(CraftItemStack) when HideFlags are set.

This commit is contained in:
Antony Riley 2015-07-15 19:47:59 +03:00
parent b105298f2e
commit bf4818b94a

View File

@ -799,6 +799,7 @@ class CraftMetaItem implements ItemMeta, Repairable {
DISPLAY.NBT, DISPLAY.NBT,
REPAIR.NBT, REPAIR.NBT,
ENCHANTMENTS.NBT, ENCHANTMENTS.NBT,
HIDEFLAGS.NBT,
CraftMetaMap.MAP_SCALING.NBT, CraftMetaMap.MAP_SCALING.NBT,
CraftMetaPotion.POTION_EFFECTS.NBT, CraftMetaPotion.POTION_EFFECTS.NBT,
CraftMetaSkull.SKULL_OWNER.NBT, CraftMetaSkull.SKULL_OWNER.NBT,