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

View File

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