geforkt von Mirrors/Paper
Fixed how Dropper inventories are shown to players.
By: 0x277F <0x277F@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
08a3d51d7c
Commit
9cc3d2c1df
@ -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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren