Skip to content

Commit

Permalink
Fixed new enchantments.
Browse files Browse the repository at this point in the history
  • Loading branch information
YLivay committed Jan 15, 2012
1 parent ffbcd07 commit aee38d9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Enchantment.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Logger;

/**
* Enchantment - a class used to access all enchantment related stuff
Expand All @@ -21,7 +22,8 @@ public enum Type {
FeatherFalling(2),
BlastProtection(3),
ProjectileProtection(4),
Respiration(5), AquaAffinity(6),
Respiration(5),
AquaAffinity(6),
Sharpness(16),
Smite(17),
BaneOfArthropods(18),
Expand All @@ -31,7 +33,11 @@ public enum Type {
Efficiency(32),
SilkTouch(33),
Unbreaking(34),
Fortune(35);
Fortune(35),
ArrowDamage(48),
ArrowKnockback(49),
ArrowFire(50),
ArrowInfinite(51);

private int id;
private static Map<Integer, Type> map;
Expand Down

0 comments on commit aee38d9

Please sign in to comment.