.
This commit is contained in:
parent
00a8c0b243
commit
371aecf5b2
@ -14,13 +14,13 @@ function selectSeed()
|
||||
itemDetail = turtle.getItemDetail()
|
||||
if itemDetail ~= nil then
|
||||
if itemDetail.name == toPlant[currentSeed] then
|
||||
currentSeed = currentSeed + 1
|
||||
if currentSeed >= 4 then
|
||||
currentSeed = 1
|
||||
end
|
||||
return
|
||||
end
|
||||
end
|
||||
currentSeed = currentSeed + 1
|
||||
if currentSeed >= 4 then
|
||||
currentSeed = 1
|
||||
end
|
||||
end
|
||||
print("No seeds left")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user