wintertodt: fix interrupt notification firing when already idle
This commit is contained in:
@@ -305,8 +305,8 @@ public class WintertodtPlugin extends Plugin
|
||||
chatMessageManager.update(messageNode);
|
||||
client.refreshChat();
|
||||
|
||||
// all actions except woodcutting are interrupted from damage
|
||||
if (currentActivity != WintertodtActivity.WOODCUTTING)
|
||||
// all actions except woodcutting and idle are interrupted from damage
|
||||
if (currentActivity != WintertodtActivity.WOODCUTTING && currentActivity != WintertodtActivity.IDLE)
|
||||
{
|
||||
wasInterrupted = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user