SPIGOT-1576: Add more new 1.9 enchants.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-03-02 06:39:09 +11:00
parent 4ff62a4c6a
commit d0640b9cd7

View File

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