3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-17 05:20:05 +01:00
Paper/src/main
Wesley Wolfe acd637d48b Properly copy collection references in ItemMeta.clone(). Fixes BUKKIT-3913
When cloning an item, all references are copied to the new item. For
collections, this makes internal changes become visible in both the old and
new items.

In CraftMetaItem, clone was not making copies of the appropriate collections
and has been fixed for non-null values.

In CraftMetaEnchantedBook and CraftMetaPotion, clone was using possible empty
collection references and has been changed to explicitly null-check instead.
2013-03-28 20:01:01 -05:00
..
java Properly copy collection references in ItemMeta.clone(). Fixes BUKKIT-3913 2013-03-28 20:01:01 -05:00
resources/configurations [Bleeding] Implement periodic chunk garbage collector 2012-12-29 16:50:05 -06:00