higher priority is good enough lol

This commit is contained in:
Babbaj
2023-07-23 01:57:27 -04:00
parent 664375a678
commit b81d712a33

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;
}