This commit is contained in:
Dominic Zimmer 2020-07-06 19:21:33 +02:00
parent eb535fa029
commit 4269615573

View File

@ -82,12 +82,15 @@ function digSafe(inspectAction, digAction)
local status, block = inspectAction()
if status then
if block["name"]:lower():find("turtle") then
-- turtle in front of me. lets wait for it to move
-- turtle in front of me. its free space
return true
else
digAction()
-- gravel may take time to fall.
sleep(0.6)
end
else
-- No block in front of me. good
return true
end
end