File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1680,7 +1680,9 @@ private async Task ImportRecipeItems(WowDbContext context)
16801680 var seen = new HashSet < ( int , int ) > ( ) ;
16811681 foreach ( var skillLineAbility in skillLineAbilities )
16821682 {
1683- if ( skillLineAbility . Spell == 0 || ! _teachSpellBySpellId . TryGetValue ( skillLineAbility . Spell , out var recipeItemIds ) )
1683+ if ( skillLineAbility . Spell == 0 ||
1684+ Hardcoded . IgnoredSkillLineAbilities . Contains ( skillLineAbility . ID ) ||
1685+ ! _teachSpellBySpellId . TryGetValue ( skillLineAbility . Spell , out var recipeItemIds ) )
16841686 {
16851687 continue ;
16861688 }
@@ -1704,7 +1706,9 @@ private async Task ImportRecipeItems(WowDbContext context)
17041706 }
17051707 }
17061708
1707- // TODO deletes
1709+ await context . WowProfessionRecipeItem
1710+ . Where ( item => Hardcoded . IgnoredSkillLineAbilities . Contains ( item . SkillLineAbilityId ) )
1711+ . ExecuteDeleteAsync ( ) ;
17081712
17091713 _timer . AddPoint ( "RecipeItems" ) ;
17101714 }
You can’t perform that action at this time.
0 commit comments