mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 08:16:08 +00:00
fix(Core/Misc): bunch of crashfixes (#7307)
This commit is contained in:
@@ -281,7 +281,7 @@ public:
|
||||
Creature* GetSummoner()
|
||||
{
|
||||
if (me->IsSummon())
|
||||
if (Unit* coren = me->ToTempSummon()->GetSummoner())
|
||||
if (Unit* coren = me->ToTempSummon()->GetSummonerUnit())
|
||||
return coren->ToCreature();
|
||||
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user