diff options
author | Jacob Martin <jjm_223@hotmail.com> | 2016-12-03 10:51:53 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-12-03 10:58:18 +1100 |
commit | b64d8524968ef0984bb78dd026192e83b56149d8 (patch) | |
tree | 4274eb18558bf2efade4097f4f6d8eaa8b4d3ca7 /src/main/java/org | |
parent | 9beb0c9968c228788c7bbc446316ccd20e6a0c15 (diff) | |
download | craftbukkit-b64d8524968ef0984bb78dd026192e83b56149d8.tar craftbukkit-b64d8524968ef0984bb78dd026192e83b56149d8.tar.gz craftbukkit-b64d8524968ef0984bb78dd026192e83b56149d8.tar.lz craftbukkit-b64d8524968ef0984bb78dd026192e83b56149d8.tar.xz craftbukkit-b64d8524968ef0984bb78dd026192e83b56149d8.zip |
#326: Convert BlockMeta to handle older serialized items.
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java index 2183cf20..b6bce942 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java @@ -423,6 +423,7 @@ public final class CraftItemStack extends ItemStack { item.setTag(tag); ((CraftMetaItem) itemMeta).applyToItem(tag); + item.convertStack(); return true; } |