Update 'controller/Controller.lua'

This commit is contained in:
manuel 2023-01-07 21:56:48 +00:00
parent 2ed0c859ad
commit 57b75dc948

View File

@ -104,7 +104,7 @@ end
function Controller:updateFuelLevel() function Controller:updateFuelLevel()
self.turtleStatus = "checking tree" self.turtleStatus = "checking tree"
local s, fuelLevel = self:doAction("getFuelLevel") local s, fuelLevel = self:doAction(self.slaveId, "getFuelLevel")
if(s == true) then if(s == true) then
self.turtleFuelLevel = fuelLevel self.turtleFuelLevel = fuelLevel
end end