From 87859a67a173634cccefeb3f4cd5aaaed43362bc Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 10 Jan 2021 20:51:51 -0500 Subject: [PATCH] Core/Skills: Fixes not learning prefessions --- Source/Game/Spells/SpellManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();