Add new fishing enchants. Fixes BUKKIT-5035

By: GJ <gjmcferrin@gmail.com>
This commit is contained in:
Bukkit/Spigot
2013-12-03 22:09:14 -05:00
parent 832e4cc761
commit ca95b136be
2 changed files with 20 additions and 1 deletions

View File

@@ -120,6 +120,16 @@ public abstract class Enchantment {
*/
public static final Enchantment ARROW_INFINITE = new EnchantmentWrapper(51);
/**
* Decreases odds of catching worthless junk
*/
public static final Enchantment LUCK = new EnchantmentWrapper(61);
/**
* Increases rate of fish biting your hook
*/
public static final Enchantment LURE = new EnchantmentWrapper(62);
private static final Map<Integer, Enchantment> byId = new HashMap<Integer, Enchantment>();
private static final Map<String, Enchantment> byName = new HashMap<String, Enchantment>();
private static boolean acceptingNew = true;