[Bot] Add Support for Bots to receive Auras, and other AoE Buffs. (#2586)

This commit is contained in:
Aeadoin 2022-11-27 15:49:38 -05:00 committed by GitHub
parent 2d364e2fd1
commit 29247a0f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2922,7 +2922,7 @@ void EntityList::ScanCloseMobs(
for (auto &e : mob_list) {
auto mob = e.second;
if (!mob->IsNPC() && !mob->IsClient()) {
if (!mob->IsNPC() && !mob->IsClient() && !mob->IsBot() && !mob->IsMerc()) {
continue;
}