diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-11-04 16:50:00 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-11-04 16:50:00 -0500 |
commit | 88dce820d52f7e09ce5424e13b34d6c10d5868ed (patch) | |
tree | 5a85bf951ebffa09215f0035ef3d6b5c4bf3f9d5 /src/SMAPI/Framework | |
parent | 01c612bc4aca5a1d8921432c94956f4d170d4d4b (diff) | |
download | SMAPI-88dce820d52f7e09ce5424e13b34d6c10d5868ed.tar.gz SMAPI-88dce820d52f7e09ce5424e13b34d6c10d5868ed.tar.bz2 SMAPI-88dce820d52f7e09ce5424e13b34d6c10d5868ed.zip |
no longer omit zero patch numbers when formatting versions
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/GameVersion.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/GameVersion.cs b/src/SMAPI/Framework/GameVersion.cs index b9ef12c8..cd88895c 100644 --- a/src/SMAPI/Framework/GameVersion.cs +++ b/src/SMAPI/Framework/GameVersion.cs @@ -12,6 +12,7 @@ namespace StardewModdingAPI.Framework /// <summary>A mapping of game to semantic versions.</summary> private static readonly IDictionary<string, string> VersionMap = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreCase) { + ["1.0"] = "1.0.0", ["1.01"] = "1.0.1", ["1.02"] = "1.0.2", ["1.03"] = "1.0.3", @@ -23,6 +24,8 @@ namespace StardewModdingAPI.Framework ["1.07"] = "1.0.7", ["1.07a"] = "1.0.8-prerelease1", ["1.08"] = "1.0.8", + ["1.1"] = "1.1.0", + ["1.2"] = "1.2.0", ["1.11"] = "1.1.1" }; |