mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Pets shouldn't be scanning for aggro
This commit is contained in:
parent
d817f08373
commit
86ed2c1e76
@ -251,6 +251,13 @@ bool Mob::CheckWillAggro(Mob *mob) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pets shouldn't scan for aggro
|
||||
*/
|
||||
if (this->GetOwner()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Mob *pet_owner = mob->GetOwner();
|
||||
if (pet_owner && pet_owner->IsClient()) {
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user