address glaring inconsistency
This commit is contained in:
parent
9d1d4fe0d9
commit
a18eb90702
@ -277,7 +277,7 @@ public final class Settings {
|
|||||||
/**
|
/**
|
||||||
* Start planning the next path once the remaining movements tick estimates sum up to less than this value
|
* Start planning the next path once the remaining movements tick estimates sum up to less than this value
|
||||||
*/
|
*/
|
||||||
public final Setting<Integer> planningTickLookAhead = new Setting<>(150);
|
public final Setting<Integer> planningTickLookahead = new Setting<>(150);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default size of the Long2ObjectOpenHashMap used in pathing
|
* Default size of the Long2ObjectOpenHashMap used in pathing
|
||||||
|
@ -196,7 +196,7 @@ public final class PathingBehavior extends Behavior implements IPathingBehavior,
|
|||||||
// and this path doesn't get us all the way there
|
// and this path doesn't get us all the way there
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (ticksRemainingInSegment(false).get() < Baritone.settings().planningTickLookAhead.get()) {
|
if (ticksRemainingInSegment(false).get() < Baritone.settings().planningTickLookahead.get()) {
|
||||||
// and this path has 7.5 seconds or less left
|
// and this path has 7.5 seconds or less left
|
||||||
// don't include the current movement so a very long last movement (e.g. descend) doesn't trip it up
|
// don't include the current movement so a very long last movement (e.g. descend) doesn't trip it up
|
||||||
// if we actually included current, it wouldn't start planning ahead until the last movement was done, if the last movement took more than 7.5 seconds on its own
|
// if we actually included current, it wouldn't start planning ahead until the last movement was done, if the last movement took more than 7.5 seconds on its own
|
||||||
|
Loading…
Reference in New Issue
Block a user