diff --git a/mineleader.lua b/mineleader.lua index 19d74cf..acfaa5c 100644 --- a/mineleader.lua +++ b/mineleader.lua @@ -382,7 +382,7 @@ local function listen() right=rightAxis }, fuel=turtle.getFuelLevel(), - task=task["name"] + task=(task and task["name"] or "nothing") } sendLog(STATUS, status) elseif data["request"] == POSITION then