High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
CraftBukkit/Spigot a885a5f0ee Change enchantment comparisons to isSimilar. Fixes BUKKIT-3183
The purpose of the isSimilar method was designed to consider all NBT
data, not solely enchantments, without the need to have exact stack
size matches. The respective methods in CraftInventory were still
comparing enchantments instead of the ItemMeta.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-17 15:53:25 -06:00
paper-server Change enchantment comparisons to isSimilar. Fixes BUKKIT-3183 2012-12-17 15:53:25 -06:00