summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig/Framework
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-02 17:54:01 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-02 17:54:01 -0400
commitb6cda8f0d32898f34b5c7dc703a85aa823c317ce (patch)
tree91d95583b6af5ce842a3d8208aacb225bdd822d6 /src/SMAPI.ModBuildConfig/Framework
parent2e3c42130358734a6fcf547745324dd272176f9c (diff)
parent9945408aa4ea2f6e07c2820f6aa1c160c68423d5 (diff)
downloadSMAPI-b6cda8f0d32898f34b5c7dc703a85aa823c317ce.tar.gz
SMAPI-b6cda8f0d32898f34b5c7dc703a85aa823c317ce.tar.bz2
SMAPI-b6cda8f0d32898f34b5c7dc703a85aa823c317ce.zip
Merge branch 'create-toolkit' into develop
Diffstat (limited to 'src/SMAPI.ModBuildConfig/Framework')
-rw-r--r--src/SMAPI.ModBuildConfig/Framework/ModFileManager.cs6
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+
}