Update entity.cpp

This commit is contained in:
Akkadius 2025-03-02 23:15:17 -06:00
parent 8419e284d4
commit 8a1f4545a4

View File

@ -2231,7 +2231,7 @@ Raid* EntityList::GetRaidByBotName(const char* name)
} }
} }
} }
return nullptr; return nullptr;
} }
@ -2933,7 +2933,7 @@ void EntityList::ScanCloseMobs(Mob *scanning_mob)
for (auto &e : mob_list) { for (auto &e : mob_list) {
auto mob = e.second; auto mob = e.second;
if (mob->GetID() <= 0) { if (mob && mob->GetID() <= 0) {
continue; continue;
} }