remove not needed check

This commit is contained in:
Jelle Meeus
2024-04-26 04:24:05 +02:00
parent 4ff95aec77
commit 095cd62360

View File

@@ -301,10 +301,7 @@ public:
{ {
if (Unit* victim = ObjectAccessor::GetUnit(*me, victimGUID)) if (Unit* victim = ObjectAccessor::GetUnit(*me, victimGUID))
{ {
if (victim->HasAura(SPELL_WEB_WRAP)) victim->RemoveAurasDueToSpell(SPELL_WEB_WRAP, me->GetGUID());
{
victim->RemoveAurasDueToSpell(SPELL_WEB_WRAP, me->GetGUID());
}
} }
} }
} }