SPIGOT-5315: Cannot serialize armor stand ItemMeta

This commit is contained in:
md_5 2019-09-11 18:14:46 +10:00
parent 03b145b300
commit 5d335e9684

View File

@ -140,6 +140,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta {
static { static {
classMap = ImmutableMap.<Class<? extends CraftMetaItem>, String>builder() classMap = ImmutableMap.<Class<? extends CraftMetaItem>, String>builder()
.put(CraftMetaArmorStand.class, "ARMOR_STAND")
.put(CraftMetaBanner.class, "BANNER") .put(CraftMetaBanner.class, "BANNER")
.put(CraftMetaBlockState.class, "TILE_ENTITY") .put(CraftMetaBlockState.class, "TILE_ENTITY")
.put(CraftMetaBook.class, "BOOK") .put(CraftMetaBook.class, "BOOK")