Update
This commit is contained in:
parent
77655f151e
commit
4d5f826e63
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user