mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Add new fishing enchants. Fixes BUKKIT-5035
This commit is contained in:
parent
e5353b82a7
commit
b880a2d24c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user