fix(Core/Misc): missed log format (#24252)
This commit is contained in:
parent
59f66e9144
commit
2ede1544f7
1 changed files with 2 additions and 2 deletions
|
|
@ -121,8 +121,8 @@ void Player::PrepareGossipMenu(WorldObject* source, uint32 menuId /*= 0*/, bool
|
|||
Trainer::Trainer const* trainer = sObjectMgr->GetTrainer(creature->GetEntry());
|
||||
if (!trainer || !trainer->IsTrainerValidForPlayer(this))
|
||||
{
|
||||
LOG_ERROR("sql.sql", "GOSSIP_OPTION_TRAINER:: Player %s (GUID: %u) requested wrong gossip menu: %u at Creature: %s (Entry: %u)",
|
||||
GetName().c_str(), GetGUID().GetCounter(), menu->GetGossipMenu().GetMenuId(), creature->GetName().c_str(), creature->GetEntry());
|
||||
LOG_ERROR("sql.sql", "GOSSIP_OPTION_TRAINER:: Player {} (GUID: {}) requested wrong gossip menu: {} at Creature: {} (Entry: {})",
|
||||
GetName(), GetGUID().GetCounter(), menu->GetGossipMenu().GetMenuId(), creature->GetName(), creature->GetEntry());
|
||||
canTalk = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue