Core/Players: Don't flag unlearned talents and specialization spells as disabled since they are learned with "dependent" flag (and not saved in database)

Port From (https://github.com/TrinityCore/TrinityCore/commit/9bab2801c6f7fbad0ac32702c67a76f06718f2da)
This commit is contained in:
Hondacrx
2024-11-17 12:04:15 -05:00
parent a4af99c2bb
commit 7bb7819be3
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ namespace Game.Entities
for (int j = 0; j < specSpells.Count; ++j)
{
SpecializationSpellsRecord specSpell = specSpells[j];
RemoveSpell(specSpell.SpellID, true);
RemoveSpell(specSpell.SpellID);
if (specSpell.OverridesSpellID != 0)
RemoveOverrideSpell(specSpell.OverridesSpellID, specSpell.SpellID);
}