This commit is contained in:
Dominic Zimmer 2020-07-05 00:23:32 +02:00
parent 77655f151e
commit 4d5f826e63

View File

@ -242,17 +242,17 @@ function enqueueTurtle()
if not status then if not status then
if turtle.down() then if turtle.down() then
break -- we moved in line break -- we moved in line
end
else
if turtle.forward() then
-- pass, thats ok
else else
if turtle.forward() then local status, block = turtle.inspect()
-- pass, thats ok if status and not block["name"]:lower():find("turtle") then
else turtle.dig()
local status, block = turtle.inspect() turtle.forward()
if status and not block["name"]:lower():find("turtle") then turtle.digUp()
turtle.dig() turtle.digDown()
turtle.forward()
turtle.digUp()
turtle.digDown()
end
end end
end end
end end