clear all keys including sprint in the next movement, fixes #194
This commit is contained in:
parent
76365a4564
commit
f338cdd2e5
@ -336,6 +336,7 @@ public class PathExecutor implements Helper {
|
|||||||
if (canSprintInto(current, next)) {
|
if (canSprintInto(current, next)) {
|
||||||
if (playerFeet().equals(current.getDest())) {
|
if (playerFeet().equals(current.getDest())) {
|
||||||
pathPosition++;
|
pathPosition++;
|
||||||
|
clearKeys();
|
||||||
}
|
}
|
||||||
if (!player().isSprinting()) {
|
if (!player().isSprinting()) {
|
||||||
player().setSprinting(true);
|
player().setSprinting(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user