From 4d5f826e636c2f1169a463d9b018d38d2c75a43c Mon Sep 17 00:00:00 2001 From: Dominic Zimmer Date: Sun, 5 Jul 2020 00:23:32 +0200 Subject: [PATCH] Update --- dominic/canemine.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dominic/canemine.lua b/dominic/canemine.lua index 52eed0e..8449f35 100644 --- a/dominic/canemine.lua +++ b/dominic/canemine.lua @@ -242,17 +242,17 @@ function enqueueTurtle() if not status then if turtle.down() then break -- we moved in line + end + else + if turtle.forward() then + -- pass, thats ok else - if turtle.forward() then - -- pass, thats ok - else - local status, block = turtle.inspect() - if status and not block["name"]:lower():find("turtle") then - turtle.dig() - turtle.forward() - turtle.digUp() - turtle.digDown() - end + local status, block = turtle.inspect() + if status and not block["name"]:lower():find("turtle") then + turtle.dig() + turtle.forward() + turtle.digUp() + turtle.digDown() end end end