From 5d335e9684996e392a563edbcf932fad3a871afc Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 11 Sep 2019 18:14:46 +1000 Subject: [PATCH] SPIGOT-5315: Cannot serialize armor stand ItemMeta --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java index 3a93e202b8..4e838f853b 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java @@ -140,6 +140,7 @@ class CraftMetaItem implements ItemMeta, Damageable, Repairable, BlockDataMeta { static { classMap = ImmutableMap., String>builder() + .put(CraftMetaArmorStand.class, "ARMOR_STAND") .put(CraftMetaBanner.class, "BANNER") .put(CraftMetaBlockState.class, "TILE_ENTITY") .put(CraftMetaBook.class, "BOOK")