From 918061b75c32244c0e9099926cba94ffb4b2c51d Mon Sep 17 00:00:00 2001 From: Brokkonaut Date: Mon, 17 Feb 2020 18:08:10 +0100 Subject: [PATCH] SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta --- .../org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java index 9ef1f0d5e4..f1fbf0576f 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBlockState.java @@ -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);