summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.Toolkit/Serialisation
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-07 12:04:20 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2018-11-07 12:04:20 -0500
commit0b03b4f16a446e4b139efd33f6378598ae66efee (patch)
treef9165f143f796c7cfebc6d91605c19478f6f4cb2 /src/StardewModdingAPI.Toolkit/Serialisation
parent60237f4d39eef619d030bd8f3334a13cbd2caffe (diff)
downloadSMAPI-0b03b4f16a446e4b139efd33f6378598ae66efee.tar.gz
SMAPI-0b03b4f16a446e4b139efd33f6378598ae66efee.tar.bz2
SMAPI-0b03b4f16a446e4b139efd33f6378598ae66efee.zip
deprecate old manifest version format
Diffstat (limited to 'src/StardewModdingAPI.Toolkit/Serialisation')
-rw-r--r--src/StardewModdingAPI.Toolkit/Serialisation/Converters/SemanticVersionConverter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI.Toolkit/Serialisation/Converters/SemanticVersionConverter.cs b/src/StardewModdingAPI.Toolkit/Serialisation/Converters/SemanticVersionConverter.cs
index 070f2c97..e0e185c9 100644
--- a/src/StardewModdingAPI.Toolkit/Serialisation/Converters/SemanticVersionConverter.cs
+++ b/src/StardewModdingAPI.Toolkit/Serialisation/Converters/SemanticVersionConverter.cs
@@ -70,7 +70,7 @@ namespace StardewModdingAPI.Toolkit.Serialisation.Converters
if (build == "0")
build = null; // '0' from incorrect examples in old SMAPI documentation
- return new SemanticVersion(major, minor, patch, build);
+ return new SemanticVersion(major, minor, patch, build, isLegacyFormat: true);
}
/// <summary>Read a JSON string.</summary>