forked from RepoMirrors/baritone
prevent double jumping
This commit is contained in:
parent
b5a4e65fbf
commit
0d7131413a
|
@ -211,6 +211,10 @@ public class MovementAscend extends Movement {
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ctx.playerFeet().equals(src.up())) {
|
||||||
|
return state; // no need to hit space if we're already jumping
|
||||||
|
}
|
||||||
|
|
||||||
if (headBonkClear()) {
|
if (headBonkClear()) {
|
||||||
return state.setInput(Input.JUMP, true);
|
return state.setInput(Input.JUMP, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue