mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Bug Fix] Fix Trading Items to Bot Pets (#4721)
Small change using IsPetOwnerOfClientBot() instead of just IsPetOwnerClient Can bot pet take item? not before, but hopefully now?
This commit is contained in:
committed by
GitHub
parent
2f7ca2cdc8
commit
cb634cf57d
+1
-1
@@ -4315,7 +4315,7 @@ bool NPC::CanPetTakeItem(const EQ::ItemInstance *inst)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!IsPetOwnerClient() && !IsCharmedPet()) {
|
||||
if (!IsPetOwnerOfClientBot() && !IsCharmedPet()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user