mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-01-28 19:21:21 +01:00
If no duration provided, potion effects on bosses will last forever.
This commit is contained in:
parent
1090550a3b
commit
47f22f75ab
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user