13
0
geforkt von Mirrors/Paper

SPIGOT-5315: Cannot serialize armor stand ItemMeta

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2019-09-11 18:14:46 +10:00
Ursprung 7f5d81e0b0
Commit 69d28a880a

Datei anzeigen

@ -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")