From 2d4f577bbffab02058f2c50c3d005f7688e14d66 Mon Sep 17 00:00:00 2001 From: 0x277F <0x277F@gmail.com> Date: Thu, 17 Sep 2015 15:14:32 -0600 Subject: [PATCH] Fixed how Dropper inventories are shown to players. --- .../org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index b278ba88bb..1828ccdf5b 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -191,6 +191,12 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { openCustomInventory(inventory, player, "minecraft:dispenser"); } break; + case DROPPER: + if (iinventory instanceof TileEntityDropper) { + getHandle().openContainer((TileEntityDropper) iinventory); + } else { + openCustomInventory(inventory, player, "minecraft:dropper"); + } case FURNACE: if (iinventory instanceof TileEntityFurnace) { getHandle().openContainer((TileEntityFurnace) iinventory);