From 5a4fac8387a7edb03bab8ca0678875bd562e64c8 Mon Sep 17 00:00:00 2001 From: Citrinate Date: Wed, 8 May 2024 19:38:15 -0400 Subject: [PATCH] Fix --- FreePackages/Data/BotCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;