higher priority is good enough lol

This commit is contained in:
Babbaj 2023-07-23 01:57:27 -04:00
parent 664375a678
commit b81d712a33
No known key found for this signature in database
GPG Key ID: F044309848A07CAC
1 changed files with 1 additions and 7 deletions

View File

@ -207,13 +207,7 @@ public class PathingControlManager implements IPathingControlManager {
} else if (exec.commandType != PathingCommandType.DEFER) {
inControlThisTick = proc;
if (!proc.isTemporary()) {
iterator.forEachRemaining(it -> {
// TODO: find a better way to make these behave well together
if (proc instanceof CustomGoalProcess && it instanceof ElytraProcess) {
return;
}
it.onLostControl();
});
iterator.forEachRemaining(IBaritoneProcess::onLostControl);
}
return exec;
}