Extend the give-effects time by three seconds to stop >= 1.9 blinking the effects

This commit is contained in:
isokissa3 2017-07-24 09:53:54 +03:00
parent d58e90ffe5
commit 979cbf0f9b

View file

@ -29,7 +29,7 @@ public class PotionEffectFlag extends Flag<PotionEffect>
PotionEffectType potionEffect = PotionEffectType.getByName(splitd[0]); PotionEffectType potionEffect = PotionEffectType.getByName(splitd[0]);
if (potionEffect != null) if (potionEffect != null)
{ {
return new PotionEffect(potionEffect, 100, new Integer(splitd[1])); return new PotionEffect(potionEffect, 160, new Integer(splitd[1]));
} }
else else
{ {