[Mobs] Remove entity type checks from ScanCloseMobs (#4323)

This commit is contained in:
Chris Miles authored and GitHub committed 2024-05-24 21:54:01 -04:00
1 parent 6dc661032f
commit fc9ef2fb7b
1 file changed
-5
-5
View File
@@ -2954,11 +2954,6 @@ void EntityList::ScanCloseMobs(
for (auto &e : mob_list) {
auto mob = e.second;
if (!mob->IsNPC() && !mob->IsClient() && !mob->IsBot() && !mob->IsMerc()) {
continue;
}
if (mob->GetID() <= 0) {
continue;
}