diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-12-29 07:47:07 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-12-29 07:47:07 +0000 |
commit | 69ad186839c0dfee24ad9e79c83ffad848f0bfe6 (patch) | |
tree | 62f8e21efa7e6a898d867981fa654f59f814e253 | |
parent | fc89867e4aa83e4124363431c1cf326ba8315a17 (diff) | |
download | Essentials-69ad186839c0dfee24ad9e79c83ffad848f0bfe6.tar Essentials-69ad186839c0dfee24ad9e79c83ffad848f0bfe6.tar.gz Essentials-69ad186839c0dfee24ad9e79c83ffad848f0bfe6.tar.lz Essentials-69ad186839c0dfee24ad9e79c83ffad848f0bfe6.tar.xz Essentials-69ad186839c0dfee24ad9e79c83ffad848f0bfe6.zip |
Add aliases for new thorns enchantment.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Enchantments.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Enchantments.java b/Essentials/src/com/earth2me/essentials/Enchantments.java index 875fd72e7..07e095771 100644 --- a/Essentials/src/com/earth2me/essentials/Enchantments.java +++ b/Essentials/src/com/earth2me/essentials/Enchantments.java @@ -44,6 +44,12 @@ public class Enchantments ENCHANTMENTS.put("unbreaking", Enchantment.DURABILITY); ALIASENCHANTMENTS.put("d", Enchantment.DURABILITY); + ENCHANTMENTS.put("thorns", Enchantment.THORNS); + ENCHANTMENTS.put("highcrit", Enchantment.THORNS); + ALIASENCHANTMENTS.put("thorn", Enchantment.THORNS); + ALIASENCHANTMENTS.put("highercrit", Enchantment.THORNS); + ALIASENCHANTMENTS.put("t", Enchantment.THORNS); + ENCHANTMENTS.put("fireaspect", Enchantment.FIRE_ASPECT); ENCHANTMENTS.put("fire", Enchantment.FIRE_ASPECT); ALIASENCHANTMENTS.put("meleefire", Enchantment.FIRE_ASPECT); @@ -129,7 +135,7 @@ public class Enchantments ALIASENCHANTMENTS.put("infinite", Enchantment.ARROW_INFINITE); ALIASENCHANTMENTS.put("unlimited", Enchantment.ARROW_INFINITE); ALIASENCHANTMENTS.put("unlimitedarrows", Enchantment.ARROW_INFINITE); - ALIASENCHANTMENTS.put("ai", Enchantment.ARROW_INFINITE); + ALIASENCHANTMENTS.put("ai", Enchantment.ARROW_INFINITE); } public static Enchantment getByName(String name) { |