Skip to content

Commit

Permalink
Fix: Core: GoalFactory: Unable to resolve IBlacklist while not in Mod…
Browse files Browse the repository at this point in the history
…e.Grind
  • Loading branch information
Xian55 committed Jan 12, 2025
1 parent 57590a1 commit 631b1ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Core/GoalsFactory/GoalFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ public static IServiceProvider Create(
if (classConfig.Mode != Mode.Grind)
{
services.AddScoped<IBlacklist, NoBlacklist>();

services.AddKeyedScoped<IBlacklist, NoBlacklist>("target");
services.AddKeyedScoped<IBlacklist, NoBlacklist>("mouseOver");
}
else
{
Expand Down

0 comments on commit 631b1ab

Please sign in to comment.