[Bug Fix] Fix for OOZ Group updates when removing/inviting Bots (#3159)

* [Bug Fix] Fix for Cross Zone Group updates with Bots when disbanding/joining groups.

* check for nullptr
This commit is contained in:
Aeadoin
2023-03-30 08:31:50 -04:00
committed by GitHub
parent 6960a1a682
commit e4ff76dceb
4 changed files with 21 additions and 8 deletions
+4
View File
@@ -188,6 +188,10 @@ void Bot::ProcessRaidInvite(Mob* invitee, Client* invitor, bool group_invite) {
Raid* raid = entity_list.GetRaidByClient(invitor);
if (raid && raid->RaidCount() >= MAX_RAID_MEMBERS) {
invitor->MessageString(Chat::Red, RAID_IS_FULL);
return;
}
Bot::CreateBotRaid(invitee, invitor, group_invite, raid);
}