mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix NPE
This commit is contained in:
parent
70db76338b
commit
43a648b194
@ -247,7 +247,7 @@ public class DownloadDispatcher
|
||||
public bool Matches(Archive archive, ServerAllowList mirrorAllowList)
|
||||
{
|
||||
if (archive.State is DTOs.DownloadStates.GoogleDrive gdrive)
|
||||
return mirrorAllowList.GoogleIDs.Contains(gdrive.Id);
|
||||
return mirrorAllowList.GoogleIDs?.Contains(gdrive.Id) ?? false;
|
||||
|
||||
var downloader = Downloader(archive);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user