diff options
author | cTrinity <58204838+cTrinity@users.noreply.github.com> | 2023-06-27 00:21:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 18:21:41 +0200 |
commit | 04bca04fb1544b983c636813e465f14a327d99d0 (patch) | |
tree | 0fc6958d8d7786b2e8424db59341a7e628c54576 | |
parent | 8bb7d90f21663308e29e29d79f8c933843e48064 (diff) |
Core/Misc: Fixed logging format strings (#29101)
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 1e23b30c9ff..7605cb6b698 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -899,13 +899,13 @@ void ObjectMgr::LoadCreatureTemplateSparring() if (!sObjectMgr->GetCreatureTemplate(entry)) { - TC_LOG_ERROR("sql.sql", "Creature template (Entry: %u) does not exist but has a record in `creature_template_sparring`", entry); + TC_LOG_ERROR("sql.sql", "Creature template (Entry: {}) does not exist but has a record in `creature_template_sparring`", entry); continue; } if (noNPCDamageBelowHealthPct <= 0 || noNPCDamageBelowHealthPct > 100) { - TC_LOG_ERROR("sql.sql", "Creature (Entry: %u) has invalid NoNPCDamageBelowHealthPct (%f) defined in `creature_template_sparring`. Skipping", + TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid NoNPCDamageBelowHealthPct (%f) defined in `creature_template_sparring`. Skipping", entry, noNPCDamageBelowHealthPct); continue; } @@ -914,7 +914,7 @@ void ObjectMgr::LoadCreatureTemplateSparring() ++count; } while (result->NextRow()); - TC_LOG_INFO("server.loading", ">> Loaded %u creature template sparring rows in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); + TC_LOG_INFO("server.loading", ">> Loaded {} creature template sparring rows in {} ms", count, GetMSTimeDiffToNow(oldMSTime)); } void ObjectMgr::LoadCreatureTemplateDifficulty() |