mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SPIGOT-7502: CraftMetaItem - cannot deserialize BlockStateTag
This commit is contained in:
parent
b3efca57ac
commit
ad0e574345
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
|
|||
setCustomModelData(customModelData);
|
||||
}
|
||||
|
||||
Map blockData = SerializableMeta.getObject(Map.class, map, BLOCK_DATA.BUKKIT, true);
|
||||
Object blockData = SerializableMeta.getObject(Object.class, map, BLOCK_DATA.BUKKIT, true);
|
||||
if (blockData != null) {
|
||||
this.blockData = (NBTTagCompound) CraftNBTTagConfigSerializer.deserialize(blockData);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue