Fix crash

This commit is contained in:
Atidot3
2024-07-25 17:56:53 +02:00
parent 710d89af5c
commit 916a0002e8
4 changed files with 13 additions and 10 deletions

View File

@@ -545,7 +545,7 @@ void PlayerbotHolder::OnBotLogin(Player* const bot)
if (isLfg)
{
std::string lfgChannelName = channel->pattern[sWorld->GetDefaultDbcLocale()];
new_channel = cMgr->GetJoinChannel(lfgChannelName, channel->ChannelID);
new_channel = cMgr->GetJoinChannel("LookingForGroup", channel->ChannelID);
}
else
{