IsPetOwner fixes

This commit is contained in:
nytmyr
2025-01-31 00:16:18 -06:00
parent 3ce9579a6c
commit d810d32069
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -555,7 +555,7 @@ void NPC::SetTarget(Mob* mob) {
// either normal pet and owner is client or charmed pet and owner is client
Mob *owner = nullptr;
if (IsPet() && IsPetOwnerOfClientBot()) {
if (IsPet() && IsPetOwnerClient()) {
owner = GetOwner();
} else if (IsCharmed()) {
owner = GetOwner();