summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/SpawnerCreature.java
diff options
context:
space:
mode:
authorWesley Wolfe <weswolf@aol.com>2013-03-28 20:01:01 -0500
committerWesley Wolfe <weswolf@aol.com>2013-03-28 20:01:01 -0500
commitacd637d48b7550254956b8aa8a09f69980050b39 (patch)
tree30dd8fd06581cb589860ef86f801321277a5aafa /src/main/java/net/minecraft/server/SpawnerCreature.java
parent1a7e5a75ae0cebd7ba9631b7d6001beaa76fe849 (diff)
downloadcraftbukkit-acd637d48b7550254956b8aa8a09f69980050b39.tar
craftbukkit-acd637d48b7550254956b8aa8a09f69980050b39.tar.gz
craftbukkit-acd637d48b7550254956b8aa8a09f69980050b39.tar.lz
craftbukkit-acd637d48b7550254956b8aa8a09f69980050b39.tar.xz
craftbukkit-acd637d48b7550254956b8aa8a09f69980050b39.zip
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.
Diffstat (limited to 'src/main/java/net/minecraft/server/SpawnerCreature.java')
0 files changed, 0 insertions, 0 deletions