From 1a8a0c799f9e7d9f46b3b3c785cd304cf634dfa8 Mon Sep 17 00:00:00 2001 From: rlauu <46294892+rlauu@users.noreply.github.com> Date: Mon, 23 Sep 2024 20:14:59 +0200 Subject: [PATCH] Update CleanCacheTask.cs --- .../ScheduledTasks/CleanCacheTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/CleanCacheTask.cs b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/CleanCacheTask.cs index 152122a..f644db1 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/CleanCacheTask.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/ScheduledTasks/CleanCacheTask.cs @@ -109,7 +109,7 @@ public class CleanCacheTask : IScheduledTask var removedItems = false; foreach (var ignoredItem in Plugin.Instance.IgnoreList.Values.ToList()) { - if (!Plugin.Instance.QueuedMediaItems.ContainsKey(ignoredItem.SeasonId)) + if (!queue.ContainsKey(ignoredItem.SeasonId)) { removedItems = true; Plugin.Instance.IgnoreList.TryRemove(ignoredItem.SeasonId, out _);