Skip to content

Commit

Permalink
don't consider dalamud releases that aren't current valid
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Apr 15, 2024
1 parent 30838ee commit 31534ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions XLWebServices/Services/DalamudReleaseDataService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ public async Task ClearCache()
continue;
}
}

// Skip releases that aren't applicable. Ideally XL should see this and request stable instead, but here we are.
if (!tempRelease.IsApplicableForCurrentGameVer.GetValueOrDefault(true))
{
logger.LogInformation("Skipping {Track} as it's not applicable for current game version", content.Name);
continue;
}

releasesDict.Add(content.Name, tempRelease);
}
Expand Down

0 comments on commit 31534ed

Please sign in to comment.