1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-11 17:56:34 +00:00

too aggressive

This commit is contained in:
Leijurv 2023-07-31 00:27:50 -07:00
parent cc8afe95c5
commit 541b710ea7
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -348,7 +348,7 @@ public final class ElytraBehavior implements Helper {
return;
}
}
if (!canSeeAny) {
if (!canSeeAny && rangeStartIncl < rangeEndExcl - 2 && process.state != ElytraProcess.State.GET_TO_JUMP) {
this.pathRecalcSegment(rangeEndExcl - 1).thenRun(() -> logDirect("Recalculated segment since no path points were visible"));
}
}