Skip to content

Commit

Permalink
Fix duplicate activation attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
Citrinate committed May 6, 2024
1 parent 64ae43d commit 346548c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions FreePackages/Data/BotCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ internal BotCache(string filePath) : this() {
return null;
}

botCache.Packages = new(botCache.Packages.GroupBy(package => package, new PackageComparer()).Select(group => group.First()), new PackageComparer());
botCache.FilePath = filePath;

return botCache;
Expand Down

0 comments on commit 346548c

Please sign in to comment.