From e8d3bf509c539a4f1dcb789d37a003cb3760ceba Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 13 Feb 2019 16:33:27 -0800 Subject: [PATCH] clarify --- src/main/java/baritone/pathing/path/PathExecutor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/baritone/pathing/path/PathExecutor.java b/src/main/java/baritone/pathing/path/PathExecutor.java index 9ff27afc..e78b5d7e 100644 --- a/src/main/java/baritone/pathing/path/PathExecutor.java +++ b/src/main/java/baritone/pathing/path/PathExecutor.java @@ -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; }