13
0
geforkt von Mirrors/Paper

Fix opening shulker inventories

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2018-01-08 16:07:18 +11:00
Ursprung c3ccbeb17d
Commit 05db940713

Datei anzeigen

@ -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");
}