This commit is contained in:
Leijurv 2019-02-13 16:33:27 -08:00
parent b2583773d5
commit e8d3bf509c
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@ public class PathExecutor implements IPathExecutor, Helper {
logDebug("Skipping descend to straight ascend");
return true;
}
if (canSprintInto(ctx, current, next)) {
if (canSprintFromDescendInto(ctx, current, next)) {
if (ctx.playerFeet().equals(current.getDest())) {
pathPosition++;
onChangeInPathPosition();
@ -429,7 +429,7 @@ public class PathExecutor implements IPathExecutor, Helper {
return false;
}
private static boolean canSprintInto(IPlayerContext ctx, IMovement current, IMovement next) {
private static boolean canSprintFromDescendInto(IPlayerContext ctx, IMovement current, IMovement next) {
if (next instanceof MovementDescend && next.getDirection().equals(current.getDirection())) {
return true;
}