diff --git a/server.lua b/server.lua index 8a44554..08d4acf 100644 --- a/server.lua +++ b/server.lua @@ -138,7 +138,7 @@ function processRequests() local ok, r = pcall(processRequest, msg) if not ok then r = "ERROR" end - if r then r.uid = msg.uid end + if ok and r then r.uid = msg.uid end rednet.send(id, r, "dragon") end