mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
SPIGOT-4929: Beacon inventory getType() returns CHEST
By: md_5 <git@md-5.net>
This commit is contained in:
parent
788fd7eedc
commit
0a6bbfbdde
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue