timers: remove stamina timer upon entering the Gauntlet (#11742)
This commit is contained in:
@@ -93,6 +93,7 @@ public class TimersPlugin extends Plugin
|
||||
private static final String EXTENDED_ANTIFIRE_DRINK_MESSAGE = "You drink some of your extended antifire potion.";
|
||||
private static final String EXTENDED_SUPER_ANTIFIRE_DRINK_MESSAGE = "You drink some of your extended super antifire potion.";
|
||||
private static final String FROZEN_MESSAGE = "<col=ef1020>You have been frozen!</col>";
|
||||
private static final String GAUNTLET_ENTER_MESSAGE = "You enter the Gauntlet.";
|
||||
private static final String GOD_WARS_ALTAR_MESSAGE = "you recharge your prayer.";
|
||||
private static final String IMBUED_HEART_READY_MESSAGE = "<col=ef1020>Your imbued heart has regained its magical power.</col>";
|
||||
private static final String MAGIC_IMBUE_EXPIRED_MESSAGE = "Your Magic Imbue charge has ended.";
|
||||
@@ -442,7 +443,7 @@ public class TimersPlugin extends Plugin
|
||||
createGameTimer(STAMINA);
|
||||
}
|
||||
|
||||
if (config.showStamina() && event.getMessage().equals(STAMINA_EXPIRED_MESSAGE))
|
||||
if (config.showStamina() && (event.getMessage().equals(STAMINA_EXPIRED_MESSAGE) || event.getMessage().equals(GAUNTLET_ENTER_MESSAGE)))
|
||||
{
|
||||
removeGameTimer(STAMINA);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user