From 7b21a096ad94dda533152620fc017c1dea816d1b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 20 Mar 2023 10:02:10 +1100 Subject: [PATCH] SPIGOT-7301: Prevent creating non-openable inventories By: montlikadani --- .../main/java/org/bukkit/event/inventory/InventoryType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java b/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java index 8573f5d1b1..4fb754cd7f 100644 --- a/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java +++ b/paper-api/src/main/java/org/bukkit/event/inventory/InventoryType.java @@ -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. *