From d4a6618b55cebe740df46503564f329b662b452d Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 21 Aug 2018 16:50:24 -0700 Subject: [PATCH] lol that was dumb --- .../bot/pathing/movement/movements/MovementTraverse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/bot/pathing/movement/movements/MovementTraverse.java b/src/main/java/baritone/bot/pathing/movement/movements/MovementTraverse.java index 4b5d8f1c..e93612a6 100644 --- a/src/main/java/baritone/bot/pathing/movement/movements/MovementTraverse.java +++ b/src/main/java/baritone/bot/pathing/movement/movements/MovementTraverse.java @@ -111,7 +111,7 @@ public class MovementTraverse extends Movement { return WC + context.placeBlockCost() + getTotalHardnessOfBlocksToBreak(context); } } - if (BlockStateInterface.get(src).getBlock().equals(Blocks.SOUL_SAND)) { + if (BlockStateInterface.get(src.down()).getBlock().equals(Blocks.SOUL_SAND)) { return COST_INF; // can't sneak and backplace against soul sand =/ } WC = WC * SNEAK_ONE_BLOCK_COST / WALK_ONE_BLOCK_COST;//since we are placing, we are sneaking