SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta

By: Brokkonaut <hannos17@gmx.de>
This commit is contained in:
CraftBukkit/Spigot 2020-02-17 18:08:10 +01:00
parent 6b4ea66b11
commit 3e008424f2

View File

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