mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
SPIGOT-4929: Beacon inventory getType() returns CHEST
This commit is contained in:
parent
89c52b7b0e
commit
dd99c5bb44
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ public class CraftInventory implements Inventory {
|
||||||
return InventoryType.ENDER_CHEST;
|
return InventoryType.ENDER_CHEST;
|
||||||
} else if (inventory instanceof InventoryMerchant) {
|
} else if (inventory instanceof InventoryMerchant) {
|
||||||
return InventoryType.MERCHANT;
|
return InventoryType.MERCHANT;
|
||||||
} else if (inventory instanceof TileEntityBeacon) {
|
} else if (this instanceof CraftInventoryBeacon) {
|
||||||
return InventoryType.BEACON;
|
return InventoryType.BEACON;
|
||||||
} else if (this instanceof CraftInventoryAnvil) {
|
} else if (this instanceof CraftInventoryAnvil) {
|
||||||
return InventoryType.ANVIL;
|
return InventoryType.ANVIL;
|
||||||
|
|
Loading…
Reference in a new issue