From 647164a75d97bdaa1f9b5887047aadd1bf6881a6 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 3 Dec 2013 22:02:59 -0500 Subject: [PATCH] Add new fishing enchants. Fixes BUKKIT-5035 By: GJ --- .../bukkit/craftbukkit/enchantments/CraftEnchantment.java | 6 ++++++ 1 file changed, 6 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 5e69163da5..18a6e3897a 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 @@ -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; }