diff options
author | md_5 <git@md-5.net> | 2018-01-08 16:07:18 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-01-08 16:07:18 +1100 |
commit | 4119224efe1d9d6ea5906014c49059b3c7cea965 (patch) | |
tree | bc899b89d1bf7d28621775477b36f842df4efaaa /src | |
parent | c3e4382c33f5b8737f0692d99c6bdc81fee7c09c (diff) | |
download | craftbukkit-4119224efe1d9d6ea5906014c49059b3c7cea965.tar craftbukkit-4119224efe1d9d6ea5906014c49059b3c7cea965.tar.gz craftbukkit-4119224efe1d9d6ea5906014c49059b3c7cea965.tar.lz craftbukkit-4119224efe1d9d6ea5906014c49059b3c7cea965.tar.xz craftbukkit-4119224efe1d9d6ea5906014c49059b3c7cea965.zip |
Fix opening shulker inventories
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index c6f219a4..a54548f0 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -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"); } |