Core/Logging: Replaced direct calls to GetCounter() in logs with ToString()
This commit is contained in:
1 parent
d77ff3098e
commit
b781a4dc33
12 files changed
+98
-98
No files matched your search
@@ -60,8 +60,8 @@ void LFGPlayerScript::OnLogin(Player* player, bool /*loginFirst*/)
|
||||
ObjectGuid gguid2 = group->GetGUID();
|
||||
if (gguid != gguid2)
|
||||
{
|
||||
TC_LOG_ERROR("lfg", "%s on group %u but LFG has group %u saved... Fixing.",
|
||||
player->GetSession()->GetPlayerInfo().c_str(), gguid2.GetCounter(), gguid.GetCounter());
|
||||
TC_LOG_ERROR("lfg", "%s on group %s but LFG has group %s saved... Fixing.",
|
||||
player->GetSession()->GetPlayerInfo().c_str(), gguid2.ToString().c_str(), gguid.ToString().c_str());
|
||||
sLFGMgr->SetupGroupMember(guid, group->GetGUID());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user