Check if there is a task in status report.
This commit is contained in:
parent
81ea39dc0a
commit
b8916c6dd3
@ -382,7 +382,7 @@ local function listen()
|
|||||||
right=rightAxis
|
right=rightAxis
|
||||||
},
|
},
|
||||||
fuel=turtle.getFuelLevel(),
|
fuel=turtle.getFuelLevel(),
|
||||||
task=task["name"]
|
task=(task and task["name"] or "nothing")
|
||||||
}
|
}
|
||||||
sendLog(STATUS, status)
|
sendLog(STATUS, status)
|
||||||
elseif data["request"] == POSITION then
|
elseif data["request"] == POSITION then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user