mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Nexus has dirty caches, so we have to work around it
This commit is contained in:
parent
f8d5dcfb1f
commit
e10112bff9
@ -104,8 +104,11 @@ namespace Wabbajack.Lib.Downloaders
|
||||
{
|
||||
try
|
||||
{
|
||||
var info = new NexusApiClient().GetFileInfo(this);
|
||||
return info.category_name != null;
|
||||
var modfiles = new NexusApiClient().GetModFiles(GameRegistry.GetByMO2ArchiveName(GameName).Game, int.Parse(ModID));
|
||||
var fileid = ulong.Parse(FileID);
|
||||
var found = modfiles
|
||||
.FirstOrDefault(file => file.file_id == fileid && file.category_name != null);
|
||||
return found != null;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user