diff options
Diffstat (limited to 'src/SMAPI.Toolkit')
-rw-r--r-- | src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs | 1 | ||||
-rw-r--r-- | src/SMAPI.Toolkit/ModToolkit.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs b/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs index afebba87..cf804df4 100644 --- a/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs +++ b/src/SMAPI.Toolkit/Framework/ModData/ModWarning.cs @@ -19,6 +19,7 @@ namespace StardewModdingAPI.Toolkit.Framework.ModData PatchesGame = 4, /// <summary>The mod uses the <c>dynamic</c> keyword which won't work on Linux/macOS.</summary> + [Obsolete("This value is no longer used by SMAPI and will be removed in the upcoming SMAPI 4.0.0.")] UsesDynamic = 8, /// <summary>The mod references specialized 'unvalidated update tick' events which may impact stability.</summary> diff --git a/src/SMAPI.Toolkit/ModToolkit.cs b/src/SMAPI.Toolkit/ModToolkit.cs index ce14b057..0df75a31 100644 --- a/src/SMAPI.Toolkit/ModToolkit.cs +++ b/src/SMAPI.Toolkit/ModToolkit.cs @@ -57,7 +57,7 @@ namespace StardewModdingAPI.Toolkit /// <summary>Extract mod metadata from the wiki compatibility list.</summary> public async Task<WikiModList> GetWikiCompatibilityListAsync() { - WikiClient client = new(this.UserAgent); + using WikiClient client = new(this.UserAgent); return await client.FetchModsAsync(); } |