mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Update LfgAccept (#681)
Fixed issue with Bots refusing to join DungeonFinder.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user