idle notifier: prevent double notifications for anim and interact

This commit is contained in:
Alexsuperfly
2020-01-31 12:10:24 -05:00
committed by Adam
parent 61074935ad
commit 3f1120d23a
2 changed files with 47 additions and 0 deletions

View File

@@ -561,6 +561,11 @@ public class IdleNotifierPlugin extends Plugin
{
lastInteract = null;
lastInteracting = null;
// prevent animation notifications from firing too
lastAnimation = IDLE;
lastAnimating = null;
return true;
}
}
@@ -648,6 +653,11 @@ public class IdleNotifierPlugin extends Plugin
{
lastAnimation = IDLE;
lastAnimating = null;
// prevent interaction notifications from firing too
lastInteract = null;
lastInteracting = null;
return true;
}
}