diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index ac68d6dd8..afc03f93e 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -849,7 +849,7 @@ namespace Game.Entities foreach (SpellEffectInfo effect in entry.GetEffects()) { - if (effect != null) + if (effect == null) continue; SpellLearnSkillNode dbc_node = new SpellLearnSkillNode();