3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 13:00:06 +01:00

Add new fishing enchants. Fixes BUKKIT-5035

Dieser Commit ist enthalten in:
GJ 2013-12-03 22:02:59 -05:00 committet von Nate Mortensen
Ursprung e5353b82a7
Commit b880a2d24c

Datei anzeigen

@ -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;
}