summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-01-12 23:42:04 +0100
committersnowleo <schneeleo@gmail.com>2012-01-12 23:42:04 +0100
commitfe9d5645f61a1ab8dfb2896db1d0bdcc9358c2f9 (patch)
treef4a0044fa80596a8303ba1244e048f58a2dfe998
parenteb5c88ef08b261d1e4de07b6c1d374edccfc402f (diff)
downloadEssentials-fe9d5645f61a1ab8dfb2896db1d0bdcc9358c2f9.tar
Essentials-fe9d5645f61a1ab8dfb2896db1d0bdcc9358c2f9.tar.gz
Essentials-fe9d5645f61a1ab8dfb2896db1d0bdcc9358c2f9.tar.lz
Essentials-fe9d5645f61a1ab8dfb2896db1d0bdcc9358c2f9.tar.xz
Essentials-fe9d5645f61a1ab8dfb2896db1d0bdcc9358c2f9.zip
Added the new Enchantments
-rw-r--r--Essentials/src/com/earth2me/essentials/Enchantments.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Enchantments.java b/Essentials/src/com/earth2me/essentials/Enchantments.java
index dac789353..3553142fa 100644
--- a/Essentials/src/com/earth2me/essentials/Enchantments.java
+++ b/Essentials/src/com/earth2me/essentials/Enchantments.java
@@ -54,6 +54,10 @@ public class Enchantments
ENCHANTMENTS.put("silktouch", Enchantment.SILK_TOUCH);
ENCHANTMENTS.put("waterworker", Enchantment.WATER_WORKER);
ENCHANTMENTS.put("aquaaffinity", Enchantment.WATER_WORKER);
+ ENCHANTMENTS.put("firearrow", Enchantment.ARROW_FIRE);
+ ENCHANTMENTS.put("arrowdamage", Enchantment.ARROW_DAMAGE);
+ ENCHANTMENTS.put("arrowknockback", Enchantment.ARROW_KNOCKBACK);
+ ENCHANTMENTS.put("infinitearrows", Enchantment.ARROW_INFINITE);
}
public static Enchantment getByName(String name) {