summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/Models
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-06-26 11:08:45 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-06-26 11:08:45 -0400
commit6073d24cabe3fa93ddbba7e4a613e7342a8b20c2 (patch)
treeae33564929b7fad69861f065a4899e8750cf5050 /src/StardewModdingAPI/Framework/Models
parent8d7b5b372657c0f96196cb2a902b2bdcce184fe4 (diff)
downloadSMAPI-6073d24cabe3fa93ddbba7e4a613e7342a8b20c2.tar.gz
SMAPI-6073d24cabe3fa93ddbba7e4a613e7342a8b20c2.tar.bz2
SMAPI-6073d24cabe3fa93ddbba7e4a613e7342a8b20c2.zip
change manifest.MinimumApiVersion to ISemanticVersion
Diffstat (limited to 'src/StardewModdingAPI/Framework/Models')
-rw-r--r--src/StardewModdingAPI/Framework/Models/Manifest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/Models/Manifest.cs b/src/StardewModdingAPI/Framework/Models/Manifest.cs
index be781585..8e5d13f8 100644
--- a/src/StardewModdingAPI/Framework/Models/Manifest.cs
+++ b/src/StardewModdingAPI/Framework/Models/Manifest.cs
@@ -25,7 +25,8 @@ namespace StardewModdingAPI.Framework.Models
public ISemanticVersion Version { get; set; }
/// <summary>The minimum SMAPI version required by this mod, if any.</summary>
- public string MinimumApiVersion { get; set; }
+ [JsonConverter(typeof(ManifestFieldConverter))]
+ public ISemanticVersion MinimumApiVersion { get; set; }
/// <summary>The name of the DLL in the directory that has the <see cref="Mod.Entry"/> method.</summary>
public string EntryDll { get; set; }