SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta

Dieser Commit ist enthalten in:
Brokkonaut 2020-02-17 18:08:10 +01:00
Ursprung 37f32da8f8
Commit 918061b75c

Datei anzeigen

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