From b880a2d24ca514d781f3af95f0f26a58a2abbe48 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 3 Dec 2013 22:02:59 -0500 Subject: [PATCH] Add new fishing enchants. Fixes BUKKIT-5035 --- .../bukkit/craftbukkit/enchantments/CraftEnchantment.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java b/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java index 5e69163da5..18a6e3897a 100644 --- a/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java +++ b/src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java @@ -45,6 +45,8 @@ public class CraftEnchantment extends Enchantment { return EnchantmentTarget.WEAPON; case BOW: return EnchantmentTarget.BOW; + case FISHING_ROD: + return EnchantmentTarget.FISHING_ROD; default: return null; } @@ -102,6 +104,10 @@ public class CraftEnchantment extends Enchantment { return "ARROW_FIRE"; case 51: return "ARROW_INFINITE"; + case 61: + return "LUCK"; + case 62: + return "LURE"; default: return "UNKNOWN_ENCHANT_" + target.id; }