Fix improper indice check on blocks to break

This commit is contained in:
Howard Stark 2018-08-05 22:01:29 -04:00
parent 3b88cd319f
commit 586024b57e
No known key found for this signature in database
GPG Key ID: 9FA4E350B33067F3

View File

@ -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;