summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-02-19 20:48:27 +1100
committermd_5 <git@md-5.net>2018-02-19 20:48:27 +1100
commitfb414fe101c10ff159d5cbec148a4d3f27ff990d (patch)
tree39f94b9b14c081fc3e23f68df4d994545e8b4317
parent1bb523c4e4b58a43f2050567c73e83beb1bd8217 (diff)
downloadcraftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar
craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar.gz
craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar.lz
craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar.xz
craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.zip
Add missing WEARABLE EnchantmentTarget
-rw-r--r--src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java b/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java
index 647e3917..f98e3e9a 100644
--- a/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java
+++ b/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java
@@ -49,6 +49,8 @@ public class CraftEnchantment extends Enchantment {
return EnchantmentTarget.FISHING_ROD;
case BREAKABLE:
return EnchantmentTarget.BREAKABLE;
+ case WEARABLE:
+ return EnchantmentTarget.WEARABLE;
default:
return null;
}