diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-04-30 18:52:19 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-04-30 18:52:19 -0400 |
commit | 3de9858c9b89d13cfb69662a2d9e0ce03ff0593a (patch) | |
tree | 7e7218a2fa0e9c492e8d708ffbd718eb9c446baa /src/SMAPI.Web/Framework/Clients | |
parent | 9e8a7fa986329986b8f725a21c9b22fe347347bf (diff) | |
download | SMAPI-3de9858c9b89d13cfb69662a2d9e0ce03ff0593a.tar.gz SMAPI-3de9858c9b89d13cfb69662a2d9e0ce03ff0593a.tar.bz2 SMAPI-3de9858c9b89d13cfb69662a2d9e0ce03ff0593a.zip |
fix update subkeys for Nexus mods marked as adult content
Diffstat (limited to 'src/SMAPI.Web/Framework/Clients')
-rw-r--r-- | src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs b/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs index ef3ef22e..4ba94f81 100644 --- a/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs +++ b/src/SMAPI.Web/Framework/Clients/Nexus/NexusClient.cs @@ -186,7 +186,7 @@ namespace StardewModdingAPI.Web.Framework.Clients.Nexus Version = SemanticVersion.TryParse(mod.Version, out ISemanticVersion version) ? version?.ToString() : mod.Version, Url = this.GetModUrl(id), Downloads = files.Files - .Select(file => (IModDownload)new GenericModDownload(file.Name, null, file.FileVersion)) + .Select(file => (IModDownload)new GenericModDownload(file.Name, file.Description, file.FileVersion)) .ToArray() }; } |