Misc fixes

This commit is contained in:
hondacrx
2022-05-05 10:03:40 -04:00
parent fe56f40eac
commit 8abb8679db
4 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -286,9 +286,9 @@ namespace Game.Achievements
case CriteriaType.LearnTradeskillSkillLine:
{
uint spellCount = 0;
foreach (var spell in referencePlayer.GetSpellMap())
foreach (var (spellId, _) in referencePlayer.GetSpellMap())
{
var bounds = Global.SpellMgr.GetSkillLineAbilityMapBounds(spell.Key);
var bounds = Global.SpellMgr.GetSkillLineAbilityMapBounds(spellId);
foreach (var skill in bounds)
{
if (skill.SkillLine == criteria.Entry.Asset)