diff options
author | md_5 <git@md-5.net> | 2018-02-19 20:48:27 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-02-19 20:48:27 +1100 |
commit | fb414fe101c10ff159d5cbec148a4d3f27ff990d (patch) | |
tree | 39f94b9b14c081fc3e23f68df4d994545e8b4317 /src/main/java/org | |
parent | 1bb523c4e4b58a43f2050567c73e83beb1bd8217 (diff) | |
download | craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar.gz craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar.lz craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.tar.xz craftbukkit-fb414fe101c10ff159d5cbec148a4d3f27ff990d.zip |
Add missing WEARABLE EnchantmentTarget
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java | 2 |
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; } |