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

@@ -58,7 +58,7 @@ function Main.Initialize()
---Looop until we've successfully initialized the mod
local function TryToInitialize()
local pl = getPlayer()
TOC_DEBUG.print("[Main] Current username in TryToInitialize: " .. pl:getUsername())
TOC_DEBUG.print("Current username in TryToInitialize: " .. pl:getUsername())
if pl:getUsername() == "Bob" then
TOC_DEBUG.print("Username is still Bob, waiting")
return