From 586024b57e2d82bbf6e44bee12b8882f15e79491 Mon Sep 17 00:00:00 2001 From: Howard Stark Date: Sun, 5 Aug 2018 22:01:29 -0400 Subject: [PATCH] Fix improper indice check on blocks to break --- .../baritone/bot/pathing/movement/movements/MovementAscend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java b/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java index 7c75cea0b..b8fd605c4 100644 --- a/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java +++ b/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java @@ -78,7 +78,7 @@ public class MovementAscend extends Movement { state.setStatus(MovementStatus.SUCCESS); return state; } - + state.setTarget(new MovementState.MovementTarget(Optional.empty(), Optional.of(Utils.calcRotationFromVec3d(new Vec3d(player().posX, player().posY + 1.62, player().posZ), Utils.calcCenterFromCoords(positionsToBreak[0], world()))))); state.setInput(InputOverrideHandler.Input.JUMP, true).setInput(InputOverrideHandler.Input.MOVE_FORWARD, true); return state;