From 1158b5a5861782c637ff7528d1d23f699982648b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 20 May 2019 19:46:13 +1000 Subject: [PATCH] SPIGOT-4961: Cannot open various inventories By: md_5 --- .../main/java/org/bukkit/event/inventory/InventoryType.java | 5 +++-- 1 file changed, 3 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 a0a5c21a3c..23bea34240 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 @@ -11,7 +11,8 @@ import org.jetbrains.annotations.NotNull; * The current list of inventories that cannot be created via * {@link org.bukkit.Bukkit#createInventory} are:
*
- * {@link InventoryType#CREATIVE} and {@link InventoryType#CRAFTING} + * {@link InventoryType#CREATIVE}, {@link InventoryType#CRAFTING} and + * {@link InventoryType#MERCHANT} *
* * See {@link org.bukkit.Bukkit#createInventory} for more information. @@ -104,7 +105,7 @@ public enum InventoryType { /** * A lectern inventory, with 1 BOOK slot. */ - LECTERN(1, "Lectern", false), + LECTERN(1, "Lectern"), /** * A smoker inventory, with a RESULT slot, a CRAFTING slot, and a FUEL slot. */