3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

Fixed how Dropper inventories are shown to players.

Dieser Commit ist enthalten in:
0x277F 2015-09-17 15:14:32 -06:00 committet von md_5
Ursprung 701ae54ffc
Commit 2d4f577bbf

Datei anzeigen

@ -191,6 +191,12 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
openCustomInventory(inventory, player, "minecraft:dispenser"); openCustomInventory(inventory, player, "minecraft:dispenser");
} }
break; break;
case DROPPER:
if (iinventory instanceof TileEntityDropper) {
getHandle().openContainer((TileEntityDropper) iinventory);
} else {
openCustomInventory(inventory, player, "minecraft:dropper");
}
case FURNACE: case FURNACE:
if (iinventory instanceof TileEntityFurnace) { if (iinventory instanceof TileEntityFurnace) {
getHandle().openContainer((TileEntityFurnace) iinventory); getHandle().openContainer((TileEntityFurnace) iinventory);