mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
Fix opening shulker inventories
This commit is contained in:
parent
c3e4382c33
commit
4119224efe
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||
break;
|
||||
case SHULKER_BOX:
|
||||
if (iinventory instanceof TileEntityShulkerBox) {
|
||||
getHandle().openTileEntity((TileEntityShulkerBox) iinventory);
|
||||
getHandle().openContainer((TileEntityShulkerBox) iinventory);
|
||||
} else {
|
||||
openCustomInventory(inventory, player, "minecraft:shulker_box");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue