This commit is contained in:
Julian Brammer 2024-06-17 03:01:59 +02:00
parent 00a8c0b243
commit 371aecf5b2

View File

@ -14,13 +14,13 @@ function selectSeed()
itemDetail = turtle.getItemDetail()
if itemDetail ~= nil then
if itemDetail.name == toPlant[currentSeed] then
return
end
end
currentSeed = currentSeed + 1
if currentSeed >= 4 then
currentSeed = 1
end
return
end
end
end
print("No seeds left")
end