chore: add a print debug line
This commit is contained in:
parent
744078bab3
commit
1b3a46e608
@ -153,6 +153,8 @@ local function mineProcedure()
|
|||||||
|
|
||||||
miner.robot.down()
|
miner.robot.down()
|
||||||
elseif robotState.dir == 'FORWARD' and robotState.z < targetZ then
|
elseif robotState.dir == 'FORWARD' and robotState.z < targetZ then
|
||||||
|
-- TODO: remove this print (debug purpose)
|
||||||
|
print(robotState.z, targetZ)
|
||||||
turtleUtils.digAll()
|
turtleUtils.digAll()
|
||||||
miner.robot.forward()
|
miner.robot.forward()
|
||||||
elseif robotState.dir == 'FORWARD' and robotState.z == targetZ then
|
elseif robotState.dir == 'FORWARD' and robotState.z == targetZ then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user