mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-24 03:22:26 +00:00
/pet leader should only cause NPCs to respond
Client also checks if it's an NPC so we got other bugs here ... Shouldn't ever be sending this packet with a client targeted ...
This commit is contained in:
parent
34c535ef81
commit
baca139f9b
@ -9952,7 +9952,7 @@ void Client::Handle_OP_PetCommands(const EQApplicationPacket *app)
|
|||||||
Mob *Owner = mypet->GetOwner();
|
Mob *Owner = mypet->GetOwner();
|
||||||
if (Owner)
|
if (Owner)
|
||||||
mypet->Say_StringID(PET_LEADERIS, Owner->GetCleanName());
|
mypet->Say_StringID(PET_LEADERIS, Owner->GetCleanName());
|
||||||
else
|
else if (mypet->IsNPC())
|
||||||
mypet->Say_StringID(I_FOLLOW_NOONE);
|
mypet->Say_StringID(I_FOLLOW_NOONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user