Forgot an "end".
This commit is contained in:
parent
7e7aa9febc
commit
81ea39dc0a
@ -105,6 +105,7 @@ local function handleMessage(sender, type, data)
|
||||
print("Position" .. tostring(data["content"][1]["position"]["coordinates"]))
|
||||
print("fuel: " .. tostring(data["content"][1]["fuel"]))
|
||||
print("current task: " .. data["content"][1]["task"])
|
||||
end
|
||||
elseif type == REQUEST then
|
||||
handleRequest(sender, data["request"], data["content"])
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user