fix(Core/Scripting): fix a loop in the affected mod spell hook (#9948)

This commit is contained in:
Skjalf 2021-12-31 14:03:39 -03:00 committed by GitHub
parent 69683a3472
commit b97cf91a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,8 +133,8 @@ bool ScriptMgr::OnIsAffectedBySpellModCheck(SpellInfo const* affectSpell, SpellI
if (ret && *ret)
{
return true;
return false;
}
return false;
return true;
}