From 14527e6623aa40fa6fbb74013cb16e8a6bfff737 Mon Sep 17 00:00:00 2001 From: Senmori Date: Thu, 2 Aug 2018 22:51:13 -0400 Subject: Fix InventoryType.MERCHANT being creatable when it shouldn't be. --- src/main/java/org/bukkit/event/inventory/InventoryType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java index a5314710..60eaeffc 100644 --- a/src/main/java/org/bukkit/event/inventory/InventoryType.java +++ b/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. */ -- cgit v1.2.3