mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Spells: Add unittarget check for spell 54798
This commit is contained in:
@@ -1931,7 +1931,7 @@ void AuraEffect::PeriodicDummyTick(Unit * target, Unit * caster) const
|
||||
}
|
||||
case 54798: // FLAMING Arrow Triggered Effect
|
||||
{
|
||||
if (!target->ToCreature() || !caster->ToCreature()->IsVehicle())
|
||||
if (!target || !target->ToCreature() || !caster->ToCreature()->IsVehicle())
|
||||
return;
|
||||
|
||||
Unit *rider = caster->GetVehicleKit()->GetPassenger(0);
|
||||
|
||||
Reference in New Issue
Block a user