mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Fixed how Dropper inventories are shown to players.
By: 0x277F <0x277F@gmail.com>
This commit is contained in:
parent
08a3d51d7c
commit
9cc3d2c1df
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue