From 3bf93e2e0f97a303c50932ea43bacc88247e9ebb Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 2 Aug 2018 22:51:13 -0400 Subject: [PATCH] Fix InventoryType.MERCHANT being creatable when it shouldn't be. By: Senmori --- .../src/main/java/org/bukkit/event/inventory/InventoryType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a5314710d2..60eaeffc24 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 @@ -70,7 +70,7 @@ public enum InventoryType { /** * The merchant inventory, with 2 TRADE-IN slots, and 1 RESULT slot. */ - MERCHANT(3,"Villager"), + MERCHANT(3,"Villager", false), /** * The ender chest inventory, with 27 slots. */