From ec3128505ed6b41dde964847fa24a1f0a126a681 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 19 Feb 2018 20:48:27 +1100 Subject: [PATCH] Add missing WEARABLE EnchantmentTarget By: md_5 --- .../org/bukkit/craftbukkit/enchantments/CraftEnchantment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java b/paper-server/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java index 647e3917d5..f98e3e9a04 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java +++ b/paper-server/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; }