Improve 1.16 support

- Netherite Armored Elytras now have 3 armor toughness to match netherite chestplates.
- Fixed missing "netherite" in the list of supported tiers in the translation file.
This commit is contained in:
Pim van der Loos 2020-06-30 15:10:15 +02:00
parent b29477fe4a
commit 163e6d22a2
No known key found for this signature in database
GPG Key ID: C16F020ADAE6D5A8
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ public enum ArmorTier
CHAIN(3, 5, 0, 0, Material.IRON_INGOT, "chain"),
IRON(4, 6, 0, 0, Material.IRON_INGOT, "iron"),
DIAMOND(5, 8, 2, 0, Material.DIAMOND, "diamond"),
NETHERITE(6, 8, 2, 0.1, XMaterial.NETHERITE_INGOT.parseMaterial(), "netherite"),
NETHERITE(6, 8, 3, 0.1, XMaterial.NETHERITE_INGOT.parseMaterial(), "netherite"),
;
private final int tierID;

View File

@ -17,7 +17,7 @@ TIER.SHORT.Iron=&7Iron
TIER.SHORT.Diamond=&BDiamond
TIER.SHORT.Netherite=&4Netherite
MESSAGES.UninstallMode=&cPlugin in uninstall mode! New Armored Elytras are not allowed!
MESSAGES.UnsupportedTier=&cNot a supported armor tier! Try one of these: leather, gold, chain, iron, diamond.
MESSAGES.UnsupportedTier=&cNot a supported armor tier! Try one of these: leather, gold, chain, iron, diamond, netherite.
MESSAGES.RepairNeeded=&cYou cannot equip this elytra! Please repair it in an anvil first.
# The following messages support the following variables: