mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
SPIGOT-5315: Cannot serialize armor stand ItemMeta
This commit is contained in:
parent
03b145b300
commit
5d335e9684
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue