diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-05-25 01:14:40 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-05-25 01:14:40 -0400 |
commit | 3129f67eb1f162e06d96854f319b10ccf583f0aa (patch) | |
tree | 67f7063dd4f362b018a677e6e9d3bd1cc66f63da /src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs | |
parent | 2a7bcb28f6a390e165c2cb8817f333aad750a032 (diff) | |
download | SMAPI-3129f67eb1f162e06d96854f319b10ccf583f0aa.tar.gz SMAPI-3129f67eb1f162e06d96854f319b10ccf583f0aa.tar.bz2 SMAPI-3129f67eb1f162e06d96854f319b10ccf583f0aa.zip |
add semantic version to toolkit (#532)
Diffstat (limited to 'src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs')
-rw-r--r-- | src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs b/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs index 3fec8215..41e0201d 100644 --- a/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs +++ b/src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Web.Script.Serialization; -using StardewModdingAPI.Internal; +using StardewModdingAPI.Toolkit; namespace StardewModdingAPI.ModBuildConfig.Framework { @@ -132,9 +132,9 @@ namespace StardewModdingAPI.ModBuildConfig.Framework int minor = versionFields.ContainsKey("MinorVersion") ? (int)versionFields["MinorVersion"] : 0; int patch = versionFields.ContainsKey("PatchVersion") ? (int)versionFields["PatchVersion"] : 0; string tag = versionFields.ContainsKey("Build") ? (string)versionFields["Build"] : null; - return new SemanticVersionImpl(major, minor, patch, tag).ToString(); + return new SemanticVersion(major, minor, patch, tag).ToString(); } - return new SemanticVersionImpl(versionObj.ToString()).ToString(); // SMAPI 2.0+ + return new SemanticVersion(versionObj.ToString()).ToString(); // SMAPI 2.0+ } |