13
0
geforkt von Mirrors/Paper

SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta

By: Brokkonaut <hannos17@gmx.de>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2020-02-17 18:08:10 +01:00
Ursprung 6b4ea66b11
Commit 3e008424f2

Datei anzeigen

@ -287,6 +287,10 @@ public class CraftMetaBlockState extends CraftMetaItem implements BlockStateMeta
case BLACK_SHULKER_BOX: case BLACK_SHULKER_BOX:
blockEntityTag.setString("id", "shulker_box"); blockEntityTag.setString("id", "shulker_box");
break; break;
case BEE_NEST:
case BEEHIVE:
blockEntityTag.setString("id", "beehive");
break;
} }
} }
TileEntity te = (blockEntityTag == null) ? null : TileEntity.create(blockEntityTag); TileEntity te = (blockEntityTag == null) ? null : TileEntity.create(blockEntityTag);