Added some debug.

This commit is contained in:
Harrison Deng 2021-05-07 16:20:52 -05:00
parent 10b965b3bc
commit 568ab85cc7

View File

@ -123,7 +123,7 @@ local function listenToMiners()
print("Message already table, not deserializing.") print("Message already table, not deserializing.")
data = serialized data = serialized
end end
if (data == nil) then return end if (data == nil) then print("data nil.") end
if data["token"] == TOKEN and data["recipient"] == HOST then if data["token"] == TOKEN and data["recipient"] == HOST then
handleMessage(data["sender"], data["type"], data) handleMessage(data["sender"], data["type"], data)
else else