Fix #159 (Effect)

This commit is contained in:
Final Child 2016-05-25 16:39:02 +09:00
parent 03f1d7d92d
commit 99824e1e4c
2 changed files with 9 additions and 1 deletions

View file

@ -265,6 +265,10 @@ public class MagicValues {
register(Effect.HEALTH_BOOST, 21); register(Effect.HEALTH_BOOST, 21);
register(Effect.ABSORPTION, 22); register(Effect.ABSORPTION, 22);
register(Effect.SATURATION, 23); register(Effect.SATURATION, 23);
register(Effect.GLOWING, 24);
register(Effect.LEVITATION, 25);
register(Effect.LUCK, 26);
register(Effect.BAD_LUCK, 27);
register(EntityStatus.HURT_OR_MINECART_SPAWNER_DELAY_RESET, 1); register(EntityStatus.HURT_OR_MINECART_SPAWNER_DELAY_RESET, 1);
register(EntityStatus.LIVING_HURT, 2); register(EntityStatus.LIVING_HURT, 2);

View file

@ -24,6 +24,10 @@ public enum Effect {
WITHER_EFFECT, WITHER_EFFECT,
HEALTH_BOOST, HEALTH_BOOST,
ABSORPTION, ABSORPTION,
SATURATION; SATURATION,
GLOWING,
LEVITATION,
LUCK,
BAD_LUCK;
} }