From 4269615573169f94e797640ae52bfd5818ed1815 Mon Sep 17 00:00:00 2001 From: Dominic Zimmer Date: Mon, 6 Jul 2020 19:21:33 +0200 Subject: [PATCH] Syntax --- mine/client.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mine/client.lua b/mine/client.lua index 6323bce..9bb4f46 100644 --- a/mine/client.lua +++ b/mine/client.lua @@ -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