diff --git a/zone/npc.cpp b/zone/npc.cpp index 5e7992484..b73e726d8 100644 --- a/zone/npc.cpp +++ b/zone/npc.cpp @@ -4315,7 +4315,7 @@ bool NPC::CanPetTakeItem(const EQ::ItemInstance *inst) return false; } - if (!IsPetOwnerClient() && !IsCharmedPet()) { + if (!IsPetOwnerOfClientBot() && !IsCharmedPet()) { return false; } diff --git a/zone/trading.cpp b/zone/trading.cpp index 0cdb17bbf..5fd4eec37 100644 --- a/zone/trading.cpp +++ b/zone/trading.cpp @@ -551,7 +551,7 @@ void Client::FinishTrade(Mob* tradingWith, bool finalizer, void* event_entry, st auto with = tradingWith->CastToNPC(); const EQ::ItemData *item = inst->GetItem(); - const bool is_pet = with->IsPetOwnerClient() || with->IsCharmedPet(); + const bool is_pet = with->IsPetOwnerOfClientBot() || with->IsCharmedPet(); if (is_pet && with->CanPetTakeItem(inst)) { // pets need to look inside bags and try to equip items found there if (item->IsClassBag() && item->BagSlots > 0) {