Core/Spells: Add unittarget check for spell 54798
This commit is contained in:
1 parent
52cd2cbd7e
commit
09f2a48227
1 file changed
+1
-1
@@ -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