mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 20:52:12 -07:00
SPIGOT-4929: Beacon inventory getType() returns CHEST
This commit is contained in:
@@ -469,7 +469,7 @@ public class CraftInventory implements Inventory {
|
||||
return InventoryType.ENDER_CHEST;
|
||||
} else if (inventory instanceof InventoryMerchant) {
|
||||
return InventoryType.MERCHANT;
|
||||
} else if (inventory instanceof TileEntityBeacon) {
|
||||
} else if (this instanceof CraftInventoryBeacon) {
|
||||
return InventoryType.BEACON;
|
||||
} else if (this instanceof CraftInventoryAnvil) {
|
||||
return InventoryType.ANVIL;
|
||||
|
Reference in New Issue
Block a user