Update 'Turtle/wheatDaemon.lua'
This commit is contained in:
parent
74cea2d6da
commit
e8a2105c77
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user