Update 'controller/Controller.lua'
This commit is contained in:
parent
2ed0c859ad
commit
57b75dc948
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user