mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Core/Misc): bunch of crashfixes (#7307)
This commit is contained in:
@@ -648,7 +648,7 @@ public:
|
||||
NullCreatureAI::InitializeAI();
|
||||
|
||||
if (TempSummon* summon = me->ToTempSummon())
|
||||
if (Unit* owner = summon->GetSummoner())
|
||||
if (Unit* owner = summon->GetSummonerUnit())
|
||||
if (owner->GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
_ownerGUID = owner->GetGUID();
|
||||
|
||||
Reference in New Issue
Block a user