If no duration provided, potion effects on bosses will last forever.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user