diff --git a/FreePackages/Data/BotCache.cs b/FreePackages/Data/BotCache.cs index d6b0ee6..faf9c0a 100644 --- a/FreePackages/Data/BotCache.cs +++ b/FreePackages/Data/BotCache.cs @@ -122,7 +122,7 @@ internal bool RemovePackage(Package package) { } internal bool RemoveAppPackages(HashSet appIDsToRemove) { - Packages.Where(x => appIDsToRemove.Contains(x.ID)).ToList().ForEach(x => Packages.Remove(x)); + Packages.Where(x => x.Type == EPackageType.App && appIDsToRemove.Contains(x.ID)).ToList().ForEach(x => Packages.Remove(x)); Utilities.InBackground(Save); return true;