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