mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 03:52:45 +01:00
Add a missing break statement for openInventory, fixes opening dropper inventories
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
9cc3d2c1df
commit
702701f4ce
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
||||||
} else {
|
} else {
|
||||||
openCustomInventory(inventory, player, "minecraft:dropper");
|
openCustomInventory(inventory, player, "minecraft:dropper");
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case FURNACE:
|
case FURNACE:
|
||||||
if (iinventory instanceof TileEntityFurnace) {
|
if (iinventory instanceof TileEntityFurnace) {
|
||||||
getHandle().openContainer((TileEntityFurnace) iinventory);
|
getHandle().openContainer((TileEntityFurnace) iinventory);
|
||||||
|
|
Loading…
Reference in a new issue