From 69d28a880a11abb617af829c9c84d87d752c61d2 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 11 Sep 2019 18:14:46 +1000 Subject: [PATCH] SPIGOT-5315: Cannot serialize armor stand ItemMeta By: md_5 --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java index 3a93e202b8..4e838f853b 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaItem.java +++ b/paper-server/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")