If no duration provided, potion effects on bosses will last forever.
This commit is contained in:
1 parent
1090550a3b
commit
47f22f75ab
1 file changed
+1
-1
@@ -11,7 +11,7 @@ import com.garbagemule.MobArena.Messenger;
|
|||||||
public class PotionEffectParser
|
public class PotionEffectParser
|
||||||
{
|
{
|
||||||
private static final int TICKS_PER_SECOND = 20;
|
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;
|
private static final int DEFAULT_POTION_AMPLIFIER = 0;
|
||||||
|
|
||||||
public static List<PotionEffect> parsePotionEffects(String s) {
|
public static List<PotionEffect> parsePotionEffects(String s) {
|
||||||
|
|||||||
Reference in new issue
Block a user