mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
fix(Core/Misc): bunch of crashfixes (#7307)
This commit is contained in:
@@ -3847,7 +3847,7 @@ public:
|
||||
{
|
||||
if (Unit* caster = GetCaster())
|
||||
if (TempSummon* vehicle = caster->ToTempSummon())
|
||||
if (Unit* rider = vehicle->GetSummoner())
|
||||
if (Unit* rider = vehicle->GetSummonerUnit())
|
||||
rider->RemoveAurasDueToSpell(GetId());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user