From 1b3a46e608d68ea01b1ad4d8d99255c4b2badaf7 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Wed, 8 May 2024 22:07:51 +0200 Subject: [PATCH] chore: add a print debug line --- miner.lua | 2 ++ 1 file changed, 2 insertions(+) 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