Update LfgAccept (#681)

Fixed issue with Bots refusing to join DungeonFinder.
This commit is contained in:
EricksOliveira 2024-11-05 15:15:09 +00:00 committed by GitHub
parent a7bcdad65c
commit 7fa1ab36a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,7 +188,7 @@ bool LfgAcceptAction::Execute(Event event)
LOG_INFO("playerbots", "Bot {} {}:{} <{}> is in combat and refuses LFG proposal {}", LOG_INFO("playerbots", "Bot {} {}:{} <{}> is in combat and refuses LFG proposal {}",
bot->GetGUID().ToString().c_str(), bot->GetTeamId() == TEAM_ALLIANCE ? "A" : "H", bot->GetLevel(), bot->GetGUID().ToString().c_str(), bot->GetTeamId() == TEAM_ALLIANCE ? "A" : "H", bot->GetLevel(),
bot->GetName().c_str(), id); bot->GetName().c_str(), id);
sLFGMgr->UpdateProposal(id, bot->GetGUID(), false); sLFGMgr->UpdateProposal(id, bot->GetGUID(), true);
return true; return true;
} }