mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 18:27:41 +01:00
SPIGOT-5468: Beehive TileEntity was not loaded for BlockStateMeta
By: Brokkonaut <hannos17@gmx.de>
This commit is contained in:
parent
6b4ea66b11
commit
3e008424f2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user