mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Misc): missed log format (#24252)
This commit is contained in:
@@ -121,8 +121,8 @@ void Player::PrepareGossipMenu(WorldObject* source, uint32 menuId /*= 0*/, bool
|
|||||||
Trainer::Trainer const* trainer = sObjectMgr->GetTrainer(creature->GetEntry());
|
Trainer::Trainer const* trainer = sObjectMgr->GetTrainer(creature->GetEntry());
|
||||||
if (!trainer || !trainer->IsTrainerValidForPlayer(this))
|
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)",
|
LOG_ERROR("sql.sql", "GOSSIP_OPTION_TRAINER:: Player {} (GUID: {}) requested wrong gossip menu: {} at Creature: {} (Entry: {})",
|
||||||
GetName().c_str(), GetGUID().GetCounter(), menu->GetGossipMenu().GetMenuId(), creature->GetName().c_str(), creature->GetEntry());
|
GetName(), GetGUID().GetCounter(), menu->GetGossipMenu().GetMenuId(), creature->GetName(), creature->GetEntry());
|
||||||
canTalk = false;
|
canTalk = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user