Commits

montlikadani authored and md_5 committed 58c9c8ce3b4
SPIGOT-7301: Prevent creating non-openable inventories
No tags

src/main/java/org/bukkit/event/inventory/InventoryType.java

Modified
126 126 * Grindstone inventory with 2 CRAFTING slots, and 1 RESULT slot.
127 127 */
128 128 GRINDSTONE(3, "Repair & Disenchant"),
129 129 /**
130 130 * Stonecutter inventory with 1 CRAFTING slot, and 1 RESULT slot.
131 131 */
132 132 STONECUTTER(2, "Stonecutter"),
133 133 /**
134 134 * Pseudo composter inventory with 0 or 1 slots of undefined type.
135 135 */
136 - COMPOSTER(1, "Composter"),
136 + COMPOSTER(1, "Composter", false),
137 137 /**
138 138 * Pseudo chiseled bookshelf inventory, with 6 slots of undefined type.
139 139 */
140 - CHISELED_BOOKSHELF(6, "Chiseled Bookshelf"),
140 + CHISELED_BOOKSHELF(6, "Chiseled Bookshelf", false),
141 141 /**
142 142 * The new smithing inventory, with 3 CRAFTING slots and 1 RESULT slot.
143 143 *
144 144 * @deprecated draft, experimental 1.20 API
145 145 */
146 146 @Deprecated
147 147 SMITHING_NEW(4, "Upgrade Gear"),
148 148 ;
149 149
150 150 private final int size;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut