From 04bca04fb1544b983c636813e465f14a327d99d0 Mon Sep 17 00:00:00 2001 From: cTrinity <58204838+cTrinity@users.noreply.github.com> Date: Tue, 27 Jun 2023 00:21:41 +0800 Subject: Core/Misc: Fixed logging format strings (#29101) --- src/server/game/Globals/ObjectMgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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() -- cgit v1.2.3