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:
Ursprung
701ae54ffc
Commit
2d4f577bbf
@ -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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren