From baf27363aaf736c82ddaac04a7f2ade36464ec18 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 2 Oct 2018 15:02:27 -0700 Subject: [PATCH] fix movement ascend x z cardinal asymmetry, fixes #204 --- .../baritone/pathing/movement/movements/MovementAscend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/pathing/movement/movements/MovementAscend.java b/src/main/java/baritone/pathing/movement/movements/MovementAscend.java index d01dd9e1..b5e21eea 100644 --- a/src/main/java/baritone/pathing/movement/movements/MovementAscend.java +++ b/src/main/java/baritone/pathing/movement/movements/MovementAscend.java @@ -71,7 +71,7 @@ public class MovementAscend extends Movement { return COST_INF;// the only thing we can ascend onto from a bottom slab is another bottom slab } boolean hasToPlace = false; - if (!MovementHelper.canWalkOn(destX, y, z, toPlace)) { + if (!MovementHelper.canWalkOn(destX, y, destZ, toPlace)) { if (!context.hasThrowaway()) { return COST_INF; }