Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 12:30:06 +01:00
Fix opening shulker inventories
Dieser Commit ist enthalten in:
Ursprung
c3e4382c33
Commit
4119224efe
@ -253,7 +253,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||||||
break;
|
break;
|
||||||
case SHULKER_BOX:
|
case SHULKER_BOX:
|
||||||
if (iinventory instanceof TileEntityShulkerBox) {
|
if (iinventory instanceof TileEntityShulkerBox) {
|
||||||
getHandle().openTileEntity((TileEntityShulkerBox) iinventory);
|
getHandle().openContainer((TileEntityShulkerBox) iinventory);
|
||||||
} else {
|
} else {
|
||||||
openCustomInventory(inventory, player, "minecraft:shulker_box");
|
openCustomInventory(inventory, player, "minecraft:shulker_box");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren