summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-01-08 16:07:18 +1100
committermd_5 <git@md-5.net>2018-01-08 16:07:18 +1100
commit4119224efe1d9d6ea5906014c49059b3c7cea965 (patch)
treebc899b89d1bf7d28621775477b36f842df4efaaa /src
parentc3e4382c33f5b8737f0692d99c6bdc81fee7c09c (diff)
downloadcraftbukkit-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.java2
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");
}