diff --git a/miner.lua b/miner.lua index f4e9cd2..e6491a1 100644 --- a/miner.lua +++ b/miner.lua @@ -153,6 +153,8 @@ local function mineProcedure() miner.robot.down() elseif robotState.dir == 'FORWARD' and robotState.z < targetZ then + -- TODO: remove this print (debug purpose) + print(robotState.z, targetZ) turtleUtils.digAll() miner.robot.forward() elseif robotState.dir == 'FORWARD' and robotState.z == targetZ then