Fixed how Dropper inventories are shown to players.

This commit is contained in:
0x277F 2015-09-17 15:14:32 -06:00 committed by md_5
parent 701ae54ffc
commit 2d4f577bbf

View File

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