forked from RepoMirrors/baritone
comment
This commit is contained in:
parent
83e6b2fdfe
commit
39648c5dc6
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue