Update to Minecraft 1.14-pre5

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-23 12:00:00 +10:00
parent 0e98365784
commit a0f2b74c8d
560 changed files with 10642 additions and 10867 deletions

View File

@@ -57,6 +57,8 @@ public class CraftEnchantment extends Enchantment {
return EnchantmentTarget.WEARABLE;
case TRIDENT:
return EnchantmentTarget.TRIDENT;
case CROSSBOW:
return EnchantmentTarget.CROSSBOW;
default:
return null;
}
@@ -146,11 +148,17 @@ public class CraftEnchantment extends Enchantment {
case 31:
return "CHANNELING";
case 32:
return "MENDING";
return "MULTSHOT";
case 33:
return "QUICK_CHARGE";
case 34:
return "PIERCING";
case 35:
return "MENDING";
case 36:
return "VANISHING_CURSE";
default:
return "UNKNOWN_ENCHANT_" + getName();
return "UNKNOWN_ENCHANT_" + IRegistry.ENCHANTMENT.a(target);
}
}