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
1 changed files with 1 additions and 1 deletions

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