mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 13:36:44 +01:00
1c6adc1587
The existing method for cloning a Bukkit ItemStack fails to correctly copy the underlying enchantments. Fix this by overriding .clone() in CraftItemStack, cloning the underlying nms ItemStack correctly. Fixes BUKKIT-360 |
||
---|---|---|
.. | ||
main | ||
test/java/org/bukkit/craftbukkit/inventory |