mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Added Valid check to out of date mod Validation
This commit is contained in:
parent
b7c5d591fc
commit
d6c72d225e
6 changed files with 54 additions and 6 deletions
|
|
@ -351,7 +351,7 @@ namespace ServerManagerTool.Lib
|
|||
var modsRootFolder = Path.Combine(this.ProfileSnapshot.InstallDirectory, Config.Default.ServerModsRelativePath);
|
||||
var modDetails = ModDetailList.GetModDetails(modIdList, modsRootFolder, null, response);
|
||||
|
||||
outOfdateModCount = modDetails.Count(m => !m.UpToDate);
|
||||
outOfdateModCount = modDetails.Count(m => m.IsValid && !m.UpToDate);
|
||||
}
|
||||
|
||||
if (outOfdateModCount > 0 && this.OutOfDateModCount != outOfdateModCount && !string.IsNullOrWhiteSpace(Config.Default.Alert_ModUpdateDetected))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue