3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00

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