mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
Fix opening shulker inventories
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c3ccbeb17d
commit
05db940713
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