From b5a512963da3dfb506d703d7533d28aa58ba48af Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 15 Sep 2018 10:04:48 -0700 Subject: [PATCH] don't get stuck on ascend, fixes #171 --- src/main/java/baritone/pathing/path/PathExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/pathing/path/PathExecutor.java b/src/main/java/baritone/pathing/path/PathExecutor.java index 23c82e83..4f955611 100644 --- a/src/main/java/baritone/pathing/path/PathExecutor.java +++ b/src/main/java/baritone/pathing/path/PathExecutor.java @@ -83,7 +83,7 @@ public class PathExecutor implements Helper { BetterBlockPos whereAmI = playerFeet(); if (!whereShouldIBe.equals(whereAmI)) { - if (pathPosition == 0 && whereAmI.equals(whereShouldIBe.up()) && Math.abs(player().motionY) < 0.1) { + if (pathPosition == 0 && whereAmI.equals(whereShouldIBe.up()) && Math.abs(player().motionY) < 0.1 && !(path.movements().get(0) instanceof MovementAscend) && !(path.movements().get(0) instanceof MovementPillar)) { // avoid the Wrong Y coordinate bug new MovementDownward(whereAmI, whereShouldIBe).update(); return false;