mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 04:09:54 +01:00
Fixed how Dropper inventories are shown to players.
This commit is contained in:
parent
701ae54ffc
commit
2d4f577bbf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user