From ed2b0f0bb90a2ccfa6524197469a87ba86cf8c49 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 19 Feb 2019 12:44:29 -0800 Subject: [PATCH] fix jump before place ascend --- src/main/java/baritone/pathing/path/PathExecutor.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/baritone/pathing/path/PathExecutor.java b/src/main/java/baritone/pathing/path/PathExecutor.java index 44882b98..07fe0943 100644 --- a/src/main/java/baritone/pathing/path/PathExecutor.java +++ b/src/main/java/baritone/pathing/path/PathExecutor.java @@ -541,6 +541,9 @@ public class PathExecutor implements IPathExecutor, Helper { if (!MovementHelper.canWalkOn(ctx, current.getDest().down())) { return false; } + if (!MovementHelper.canWalkOn(ctx, next.getDest().down())) { + return false; + } for (int x = 0; x < 2; x++) { for (int y = 0; y < 3; y++) { BlockPos chk = current.getSrc().up(y);