gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Game
|
||||
response.CreatureID = summonedBattlePet.GetEntry();
|
||||
response.Timestamp = summonedBattlePet.GetBattlePetCompanionNameTimestamp();
|
||||
|
||||
Unit petOwner = summonedBattlePet.ToTempSummon().GetSummoner();
|
||||
Unit petOwner = summonedBattlePet.ToTempSummon().GetSummonerUnit();
|
||||
if (!petOwner.IsPlayer())
|
||||
{
|
||||
SendPacket(response);
|
||||
|
||||
Reference in New Issue
Block a user