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:
@@ -1274,7 +1274,7 @@ public:
|
||||
Unit* GetOwner()
|
||||
{
|
||||
if (me->ToTempSummon())
|
||||
return me->ToTempSummon()->GetSummoner();
|
||||
return me->ToTempSummon()->GetSummonerUnit();
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user