summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-07 01:38:02 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-07 01:38:02 -0400
commite58e8a22836081ec4baffa5a9b4b093a329f3d88 (patch)
tree29deebc01bf4501acd28c0395b00f8298d4f717a /src/SMAPI
parentab6cf45b03073f324c46f9e93a98e3342a1bdff7 (diff)
downloadSMAPI-e58e8a22836081ec4baffa5a9b4b093a329f3d88.tar.gz
SMAPI-e58e8a22836081ec4baffa5a9b4b093a329f3d88.tar.bz2
SMAPI-e58e8a22836081ec4baffa5a9b4b093a329f3d88.zip
enable nullable annotations for manifests (#837)
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/Framework/ModLoading/ModResolver.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/ModResolver.cs b/src/SMAPI/Framework/ModLoading/ModResolver.cs
index 51463048..2842c11a 100644
--- a/src/SMAPI/Framework/ModLoading/ModResolver.cs
+++ b/src/SMAPI/Framework/ModLoading/ModResolver.cs
@@ -35,7 +35,7 @@ namespace StardewModdingAPI.Framework.ModLoading
// apply defaults
if (manifest != null && dataRecord?.UpdateKey is not null)
- manifest.UpdateKeys = new[] { dataRecord.UpdateKey };
+ manifest.OverrideUpdateKeys(dataRecord.UpdateKey);
// build metadata
bool shouldIgnore = folder.Type == ModType.Ignored;