Add a missing break statement for openInventory, fixes opening dropper inventories

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot 2015-09-18 21:42:40 +01:00
parent 9cc3d2c1df
commit 702701f4ce

View file

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