mirror of
https://github.com/cabaletta/baritone
synced 2024-12-19 13:40:42 +00:00
dont glitch weirdly when failing a parkour jump
This commit is contained in:
parent
57b2e360ca
commit
798f25ff81
@ -187,6 +187,11 @@ public class MovementParkour extends Movement {
|
||||
logDebug("Pausing parkour since hand is active");
|
||||
return state;
|
||||
}
|
||||
if (ctx.playerFeet().y < src.y) {
|
||||
// we have fallen
|
||||
logDebug("sorry");
|
||||
return state.setStatus(MovementStatus.UNREACHABLE);
|
||||
}
|
||||
if (dist >= 4) {
|
||||
state.setInput(Input.SPRINT, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user