fix parkour maybe? fixes #211
This commit is contained in:
parent
e17cc79cb3
commit
69762bf4b4
@ -224,7 +224,7 @@ public class MovementParkour extends Movement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
state.setInput(InputOverrideHandler.Input.JUMP, true);
|
state.setInput(InputOverrideHandler.Input.JUMP, true);
|
||||||
} else {
|
} else if(!playerFeet().equals(dest.offset(direction, -1))) {
|
||||||
state.setInput(InputOverrideHandler.Input.SPRINT, false);
|
state.setInput(InputOverrideHandler.Input.SPRINT, false);
|
||||||
if (playerFeet().equals(src.offset(direction, -1))) {
|
if (playerFeet().equals(src.offset(direction, -1))) {
|
||||||
MovementHelper.moveTowards(state, src);
|
MovementHelper.moveTowards(state, src);
|
||||||
|
Loading…
Reference in New Issue
Block a user