[Crash] Bot aura crash fix (#4752)

- Something between the latest release caused this crash to appear, unsure of this exact cause.
- Prevents bots from being sent a spawn packet for Auras.
- Removes the bot's auras on Depop
This commit is contained in:
nytmyr authored and GitHub committed 2025-03-06 01:12:24 -05:00
1 parent 5a1df38900
commit da824d5178
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -3615,6 +3615,7 @@ void Bot::BotPullerProcess(Client* bot_owner, Raid* raid) {
void Bot::Depop() {
WipeHateList();
entity_list.RemoveFromHateLists(this);
RemoveAllAuras();
if (HasPet())
GetPet()->Depop();