1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-18 13:15:13 +00:00
This commit is contained in:
Leijurv 2019-01-03 23:40:43 -08:00
parent 83e6b2fdfe
commit 39648c5dc6
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -64,8 +64,7 @@ public class PathingControlManager implements IPathingControlManager {
command = null;
for (IBaritoneProcess proc : processes) {
proc.onLostControl();
if (proc.isActive() && !proc.isTemporary()) { // it's okay for a temporary thing (like combat pause) to maintain control even if you say to cancel
// but not for a non temporary thing
if (proc.isActive() && !proc.isTemporary()) { // it's okay only for a temporary thing (like combat pause) to maintain control even if you say to cancel
throw new IllegalStateException(proc.displayName());
}
}