This commit is contained in:
Julian Brammer 2024-06-02 17:22:00 +02:00
parent 0fb089db5e
commit b71d3f666b

View File

@ -86,6 +86,7 @@ function main()
if fallingTreeModUsed then if fallingTreeModUsed then
while true do while true do
blockFound, blockData = turtle.inspect() blockFound, blockData = turtle.inspect()
if blockFound then
if isWood(blockData) then if isWood(blockData) then
turtle.dig() turtle.dig()
sleep(1) sleep(1)
@ -94,6 +95,9 @@ function main()
end end
print("waiting for tree...") print("waiting for tree...")
sleep(10) sleep(10)
else
placeTree()
end
end end
else else
while true do while true do