mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-24 13:38:21 +00:00
[Mobs] Remove entity type checks from ScanCloseMobs (#4323)
This commit is contained in:
@@ -2954,11 +2954,6 @@ void EntityList::ScanCloseMobs(
|
|||||||
|
|
||||||
for (auto &e : mob_list) {
|
for (auto &e : mob_list) {
|
||||||
auto mob = e.second;
|
auto mob = e.second;
|
||||||
|
|
||||||
if (!mob->IsNPC() && !mob->IsClient() && !mob->IsBot() && !mob->IsMerc()) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mob->GetID() <= 0) {
|
if (mob->GetID() <= 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user