mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +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());
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user