diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-16 23:12:01 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-16 23:12:01 -0500 |
commit | 8a1982326799dfe7f3d078beba32348befa1c9e6 (patch) | |
tree | d904aa73098f5e9577532fd1d03908e2e78f26d0 /src/SMAPI/Framework/ModLoading | |
parent | 9b3dd42cbf62a8524ac390d9418cf961c502868a (diff) | |
download | SMAPI-8a1982326799dfe7f3d078beba32348befa1c9e6.tar.gz SMAPI-8a1982326799dfe7f3d078beba32348befa1c9e6.tar.bz2 SMAPI-8a1982326799dfe7f3d078beba32348befa1c9e6.zip |
add mod page URL to missing-dependency errors (#437)
Diffstat (limited to 'src/SMAPI/Framework/ModLoading')
-rw-r--r-- | src/SMAPI/Framework/ModLoading/ModResolver.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModResolver.cs b/src/SMAPI/Framework/ModLoading/ModResolver.cs index 99d86bf8..b46ee117 100644 --- a/src/SMAPI/Framework/ModLoading/ModResolver.cs +++ b/src/SMAPI/Framework/ModLoading/ModResolver.cs @@ -272,8 +272,11 @@ namespace StardewModdingAPI.Framework.ModLoading from entry in dependencies where entry.IsRequired && entry.Mod == null let displayName = modDatabase.GetDisplayNameFor(entry.ID) ?? entry.ID + let modUrl = modDatabase.GetModPageUrlFor(entry.ID) orderby displayName - select displayName + select modUrl != null + ? $"{displayName}: {modUrl}" + : displayName ).ToArray(); if (failedModNames.Any()) { |