.
This commit is contained in:
parent
0fb089db5e
commit
b71d3f666b
@ -86,14 +86,18 @@ function main()
|
|||||||
if fallingTreeModUsed then
|
if fallingTreeModUsed then
|
||||||
while true do
|
while true do
|
||||||
blockFound, blockData = turtle.inspect()
|
blockFound, blockData = turtle.inspect()
|
||||||
if isWood(blockData) then
|
if blockFound then
|
||||||
turtle.dig()
|
if isWood(blockData) then
|
||||||
sleep(1)
|
turtle.dig()
|
||||||
|
sleep(1)
|
||||||
|
placeTree()
|
||||||
|
emptyInventory()
|
||||||
|
end
|
||||||
|
print("waiting for tree...")
|
||||||
|
sleep(10)
|
||||||
|
else
|
||||||
placeTree()
|
placeTree()
|
||||||
emptyInventory()
|
|
||||||
end
|
end
|
||||||
print("waiting for tree...")
|
|
||||||
sleep(10)
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
while true do
|
while true do
|
||||||
|
Loading…
Reference in New Issue
Block a user