diff options
author | GJ <gjmcferrin@gmail.com> | 2013-12-03 22:02:59 -0500 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-12-04 21:17:54 -0700 |
commit | b880a2d24ca514d781f3af95f0f26a58a2abbe48 (patch) | |
tree | 9df197fa64a17a1849e4e79ee0da87c71b8372a7 /src/main/java/org | |
parent | e5353b82a7974693ebdb16e08e9d702d1b7abd87 (diff) | |
download | craftbukkit-b880a2d24ca514d781f3af95f0f26a58a2abbe48.tar craftbukkit-b880a2d24ca514d781f3af95f0f26a58a2abbe48.tar.gz craftbukkit-b880a2d24ca514d781f3af95f0f26a58a2abbe48.tar.lz craftbukkit-b880a2d24ca514d781f3af95f0f26a58a2abbe48.tar.xz craftbukkit-b880a2d24ca514d781f3af95f0f26a58a2abbe48.zip |
Add new fishing enchants. Fixes BUKKIT-5035
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/enchantments/CraftEnchantment.java | 6 |
1 files changed, 6 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 5e69163d..18a6e389 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; } |