From a0d2928ba4b0006a1c43e42ca5f1238f3e5306a9 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Fri, 18 Sep 2015 21:42:40 +0100 Subject: [PATCH] Add a missing break statement for openInventory, fixes opening dropper inventories --- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 1828ccdf5b..8a08babc13 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -197,6 +197,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { } else { openCustomInventory(inventory, player, "minecraft:dropper"); } + break; case FURNACE: if (iinventory instanceof TileEntityFurnace) { getHandle().openContainer((TileEntityFurnace) iinventory);