diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-02 15:16:24 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-02 15:16:24 -0500 |
commit | f0a5a3d154b0c362c455fc57ee2d29111748e0f8 (patch) | |
tree | 8b8c475c575c46f255add6dcae45ab83dd16826e /src/SMAPI.Web/ViewModels | |
parent | 84c406ce36254d639e15cadf901f414e3c13e3d1 (diff) | |
download | SMAPI-f0a5a3d154b0c362c455fc57ee2d29111748e0f8.tar.gz SMAPI-f0a5a3d154b0c362c455fc57ee2d29111748e0f8.tar.bz2 SMAPI-f0a5a3d154b0c362c455fc57ee2d29111748e0f8.zip |
add ModDrop to mod compatibility page (#604)
Diffstat (limited to 'src/SMAPI.Web/ViewModels')
-rw-r--r-- | src/SMAPI.Web/ViewModels/ModModel.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SMAPI.Web/ViewModels/ModModel.cs b/src/SMAPI.Web/ViewModels/ModModel.cs index 0e7d2076..5c1840fc 100644 --- a/src/SMAPI.Web/ViewModels/ModModel.cs +++ b/src/SMAPI.Web/ViewModels/ModModel.cs @@ -96,6 +96,11 @@ namespace StardewModdingAPI.Web.ViewModels anyFound = true; yield return new ModLinkModel($"https://community.playstarbound.com/resources/{entry.ChucklefishID}", "Chucklefish"); } + if (entry.ModDropID.HasValue) + { + anyFound = true; + yield return new ModLinkModel($"https://www.moddrop.com/sdv/mod/467243/{entry.ModDropID}", "ModDrop"); + } // fallback if (!anyFound && !string.IsNullOrWhiteSpace(entry.CustomUrl)) |