SPIGOT-7301: Prevent creating non-openable inventories

By: montlikadani <montlikada@gmail.com>
This commit is contained in:
Bukkit/Spigot 2023-03-20 10:02:10 +11:00
parent b1268227d9
commit 7b21a096ad

View file

@ -133,11 +133,11 @@ public enum InventoryType {
/**
* Pseudo composter inventory with 0 or 1 slots of undefined type.
*/
COMPOSTER(1, "Composter"),
COMPOSTER(1, "Composter", false),
/**
* Pseudo chiseled bookshelf inventory, with 6 slots of undefined type.
*/
CHISELED_BOOKSHELF(6, "Chiseled Bookshelf"),
CHISELED_BOOKSHELF(6, "Chiseled Bookshelf", false),
/**
* The new smithing inventory, with 3 CRAFTING slots and 1 RESULT slot.
*