SPIGOT-371: Fix incorrect data bit for leap potion effect

This commit is contained in:
DoctorDark 2015-01-10 21:23:04 +00:00 committed by md_5
parent d3d800aee3
commit e8b6cdfa8a

View file

@ -11,10 +11,10 @@ public enum PotionType {
WEAKNESS(8, PotionEffectType.WEAKNESS, 1),
STRENGTH(9, PotionEffectType.INCREASE_DAMAGE, 2),
SLOWNESS(10, PotionEffectType.SLOW, 1),
JUMP(11, PotionEffectType.JUMP, 2),
INSTANT_DAMAGE(12, PotionEffectType.HARM, 2),
WATER_BREATHING(13, PotionEffectType.WATER_BREATHING, 1),
INVISIBILITY(14, PotionEffectType.INVISIBILITY, 1),
JUMP(15, PotionEffectType.JUMP, 2)
;
private final int damageValue, maxLevel;