From 70db76338b0f362f4f890b1e73e72db5aac71e4e Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Fri, 17 Dec 2021 10:49:09 -0700 Subject: [PATCH] fix archive downloading --- Wabbajack.CLI/Verbs/ValidateLists.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Wabbajack.CLI/Verbs/ValidateLists.cs b/Wabbajack.CLI/Verbs/ValidateLists.cs index 4a4bb08f..3d66e86a 100644 --- a/Wabbajack.CLI/Verbs/ValidateLists.cs +++ b/Wabbajack.CLI/Verbs/ValidateLists.cs @@ -543,13 +543,7 @@ public class ValidateLists : IVerb bool ShouldDownload() { var downloader = _dispatcher.Downloader(archive); - if (downloader == null || - (downloader is not IUrlDownloader && !_dispatcher.Matches(archive, mirrorAllowList))) - { - return true; - } - - return false; + return downloader is IUrlDownloader && _dispatcher.Matches(archive, mirrorAllowList); } if (ShouldDownload() && !archiveManager.HaveArchive(archive.Hash) && archive.State is not Nexus or WabbajackCDN)