Better debug print

This commit is contained in:
ZioPao
2024-01-08 12:49:42 +01:00
parent 1273dc7c7a
commit cf27a24380
7 changed files with 35 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ function ServerDataHandler.AddTable(key, table)
-- Check if key is valid
if not luautils.stringStarts(key, StaticData.MOD_NAME .. "_") then return end
TOC_DEBUG.print("[ServerDataHandler] Received TOC ModData: " .. tostring(key))
TOC_DEBUG.print("Received TOC ModData: " .. tostring(key))
ModData.add(key, table) -- Add it to the server mod data
ServerDataHandler.modData[key] = table
end