Merge pull request #854 from ishanjalan/develop
Current version in mod check
This commit is contained in:
commit
ed1705d4d7
|
@ -1565,7 +1565,7 @@ namespace StardewModdingAPI.Framework
|
||||||
this.Monitor.Newline();
|
this.Monitor.Newline();
|
||||||
this.Monitor.Log($"You can update {updates.Count} mod{(updates.Count != 1 ? "s" : "")}:", LogLevel.Alert);
|
this.Monitor.Log($"You can update {updates.Count} mod{(updates.Count != 1 ? "s" : "")}:", LogLevel.Alert);
|
||||||
foreach ((IModMetadata mod, ISemanticVersion newVersion, string newUrl) in updates)
|
foreach ((IModMetadata mod, ISemanticVersion newVersion, string newUrl) in updates)
|
||||||
this.Monitor.Log($" {mod.DisplayName} {newVersion}: {newUrl}", LogLevel.Alert);
|
this.Monitor.Log($" {mod.DisplayName} {newVersion}: {newUrl} (you have {mod.Manifest.Version})", LogLevel.Alert);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
this.Monitor.Log(" All mods up to date.");
|
this.Monitor.Log(" All mods up to date.");
|
||||||
|
|
Loading…
Reference in New Issue