From bbb73008ac10f02f3b6b59bd6aef3d079cbe71fa Mon Sep 17 00:00:00 2001 From: Leijurv Date: Mon, 24 Dec 2018 18:41:16 -0800 Subject: [PATCH] stupid --- .../baritone/pathing/movement/movements/MovementAscend.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/baritone/pathing/movement/movements/MovementAscend.java b/src/main/java/baritone/pathing/movement/movements/MovementAscend.java index 74a2aae4..9973e94b 100644 --- a/src/main/java/baritone/pathing/movement/movements/MovementAscend.java +++ b/src/main/java/baritone/pathing/movement/movements/MovementAscend.java @@ -129,8 +129,7 @@ public class MovementAscend extends Movement { walk += context.jumpPenalty; } - double totalCost = 0; - totalCost += walk; + double totalCost = walk; if (hasToPlace) { totalCost += context.placeBlockCost; }