mirror of https://github.com/cabaletta/baritone
Remove addressed TODO
This commit is contained in:
parent
494ebfa10d
commit
f30cb916bd
|
@ -523,9 +523,6 @@ public final class ElytraBehavior extends Behavior implements IElytraBehavior, H
|
||||||
// changed. Updating it now will avoid unnecessary recalculation on the main thread.
|
// changed. Updating it now will avoid unnecessary recalculation on the main thread.
|
||||||
this.pathManager.updatePlayerNear();
|
this.pathManager.updatePlayerNear();
|
||||||
|
|
||||||
// TODO: If we used a firework at the end of the last tick, then it's worth it to solve with the assumption
|
|
||||||
// that we'll be boosted next tick (if our ping to the server is less than 50ms) since a recalc won't
|
|
||||||
// be needed on the main thread.
|
|
||||||
final SolverContext context = this.new SolverContext(true);
|
final SolverContext context = this.new SolverContext(true);
|
||||||
this.solver = CompletableFuture.supplyAsync(() -> this.solveAngles(context));
|
this.solver = CompletableFuture.supplyAsync(() -> this.solveAngles(context));
|
||||||
this.solveNextTick = false;
|
this.solveNextTick = false;
|
||||||
|
|
Loading…
Reference in New Issue