mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
remove not needed check
This commit is contained in:
@@ -300,14 +300,11 @@ public:
|
|||||||
if (victimGUID)
|
if (victimGUID)
|
||||||
{
|
{
|
||||||
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user