mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Core/Misc): Correct some fmt logs (#21106)
This commit is contained in:
@@ -1274,7 +1274,7 @@ public:
|
||||
|
||||
if (!sObjectMgr->SetCreatureLinkedRespawn(creature->GetSpawnId(), linkguid))
|
||||
{
|
||||
handler->SendErrorMessage("Selected creature can't link with guid '%u'", linkguid);
|
||||
handler->SendErrorMessage("Selected creature can't link with guid '{}'", linkguid);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ public:
|
||||
|
||||
/// - Send the message
|
||||
// Use SendAreaTriggerMessage for fastest delivery.
|
||||
player->GetSession()->SendAreaTriggerMessage("%s", msg.c_str());
|
||||
player->GetSession()->SendAreaTriggerMessage("{}", msg);
|
||||
player->GetSession()->SendAreaTriggerMessage("|cffff0000[Message from administrator]:|r");
|
||||
|
||||
// Confirmation message
|
||||
|
||||
Reference in New Issue
Block a user