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

This commit is contained in:
Chris Miles 2024-05-24 20:54:01 -05:00 committed by GitHub
parent 6dc661032f
commit fc9ef2fb7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}