so Im having an issue that my turtle keeps moving down and doesn't stop at all at any point.
This is my code
function mine () done = false while not done do print("Moving to desired starting height...") while not (TURTLE_POSITION.y == heightToStart) do turtle.digDown() turtle.down() end print("Starting height reached. Filtering Items...") filterItems() print("Filtered Items. Starting to mine cuboid...") done = true end end
It doesn't even get to the end because it gets stuck at the diging down part