Update 'Turtle/wheatDaemon.lua'

This commit is contained in:
manuel 2023-01-13 19:24:21 +00:00
parent 74cea2d6da
commit e8a2105c77

View File

@ -28,9 +28,9 @@ function answer(message, id)
wheat:refuel()
rednet.send(id, "refueled", "confirm")
elseif(message == "getLastHarvestDuration") then
rednet.send(id, tostring(wheat.lastHarvestDuration))
rednet.send(id, tostring(wheat.lastHarvestDuration), "confirm")
elseif(message == "getLastYield") then
rednet.send(id, tostring(wheat.lastYield))
rednet.send(id, tostring(wheat.lastYield), "confirm")
end
rednet.send(id, "could not resolve message", "error")
end