Make precomputed data refresh every 200 ticks (10 seconds)
This commit is contained in:
@@ -103,6 +103,11 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
|
|||||||
baritone.getPathingControlManager().cancelEverything();
|
baritone.getPathingControlManager().cancelEverything();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ticksElapsedSoFar % 200 == 0) {
|
||||||
|
precomputedData = new PrecomputedData(); // This is here for now in case settings aren't changed in normal ways, should mean it is updated whatever once every 10 seconds
|
||||||
|
}
|
||||||
|
|
||||||
expectedSegmentStart = pathStart();
|
expectedSegmentStart = pathStart();
|
||||||
baritone.getPathingControlManager().preTick();
|
baritone.getPathingControlManager().preTick();
|
||||||
tickPath();
|
tickPath();
|
||||||
|
Reference in New Issue
Block a user