Add support for lastCombatCountdown to combat idle
In case user has combat idle set to 0, this ensures that the idle notif will not fire right away. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -456,7 +456,9 @@ public class IdleNotifierPlugin extends Plugin
|
|||||||
|
|
||||||
if (interact == null)
|
if (interact == null)
|
||||||
{
|
{
|
||||||
if (lastInteracting != null && Instant.now().compareTo(lastInteracting.plus(waitDuration)) >= 0)
|
if (lastInteracting != null
|
||||||
|
&& Instant.now().compareTo(lastInteracting.plus(waitDuration)) >= 0
|
||||||
|
&& lastCombatCountdown == 0)
|
||||||
{
|
{
|
||||||
lastInteract = null;
|
lastInteract = null;
|
||||||
lastInteracting = null;
|
lastInteracting = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user