If no duration provided, potion effects on bosses will last forever.

This commit is contained in:
graywolf336 2014-11-27 22:05:38 -06:00
parent 1090550a3b
commit 47f22f75ab

View File

@ -11,7 +11,7 @@ import com.garbagemule.MobArena.Messenger;
public class PotionEffectParser
{
private static final int TICKS_PER_SECOND = 20;
private static final int DEFAULT_POTION_DURATION = 1200;
private static final int DEFAULT_POTION_DURATION = Integer.MAX_VALUE;
private static final int DEFAULT_POTION_AMPLIFIER = 0;
public static List<PotionEffect> parsePotionEffects(String s) {