This commit is contained in:
Leijurv 2018-08-05 22:05:26 -04:00
parent cfc222a5db
commit 3b88cd319f
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -79,7 +79,7 @@ public class MovementAscend extends Movement {
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[1], world())))));
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;
default: