mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 11:05:13 +01:00
SPIGOT-1576: Add more new 1.9 enchants.
This commit is contained in:
parent
1d80ac2a7b
commit
dcbb2a45ab
1 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,8 @@ public class CraftEnchantment extends Enchantment {
|
||||||
return "THORNS";
|
return "THORNS";
|
||||||
case 8:
|
case 8:
|
||||||
return "DEPTH_STRIDER";
|
return "DEPTH_STRIDER";
|
||||||
|
case 9:
|
||||||
|
return "FROST_WALKER";
|
||||||
case 16:
|
case 16:
|
||||||
return "DAMAGE_ALL";
|
return "DAMAGE_ALL";
|
||||||
case 17:
|
case 17:
|
||||||
|
@ -110,6 +112,8 @@ public class CraftEnchantment extends Enchantment {
|
||||||
return "LUCK";
|
return "LUCK";
|
||||||
case 62:
|
case 62:
|
||||||
return "LURE";
|
return "LURE";
|
||||||
|
case 70:
|
||||||
|
return "MENDING";
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN_ENCHANT_" + getId();
|
return "UNKNOWN_ENCHANT_" + getId();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue