summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenmori <thesenmori@gmail.com>2018-08-02 22:51:13 -0400
committerSenmori <thesenmori@gmail.com>2018-08-02 22:51:13 -0400
commit14527e6623aa40fa6fbb74013cb16e8a6bfff737 (patch)
tree1c1ad7631b5de9c78497ccf0cbbb036b8a380010
parent4e075fb1f1d195a006579b6d29023cdd9f47d29b (diff)
downloadbukkit-14527e6623aa40fa6fbb74013cb16e8a6bfff737.tar
bukkit-14527e6623aa40fa6fbb74013cb16e8a6bfff737.tar.gz
bukkit-14527e6623aa40fa6fbb74013cb16e8a6bfff737.tar.lz
bukkit-14527e6623aa40fa6fbb74013cb16e8a6bfff737.tar.xz
bukkit-14527e6623aa40fa6fbb74013cb16e8a6bfff737.zip
Fix InventoryType.MERCHANT being creatable when it shouldn't be.
-rw-r--r--src/main/java/org/bukkit/event/inventory/InventoryType.java2
1 files changed, 1 insertions, 1 deletions
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.
*/