diff options
author | Zoryn <Zoryn4163@users.noreply.github.com> | 2016-03-23 13:43:41 -0400 |
---|---|---|
committer | Zoryn <Zoryn4163@users.noreply.github.com> | 2016-03-23 13:43:41 -0400 |
commit | d3912b43052a79068d72b5689b8c6d901fbb72ea (patch) | |
tree | 1a67172990e15c8ba57ea6add2dd6d1810222ac2 /StardewModdingAPI/Manifest.cs | |
parent | 4c4d3e66fe2e18c424c08a295d628432fca767cd (diff) | |
parent | 49e035dd2289d58cc2cb6585027f3f038344404f (diff) | |
download | SMAPI-d3912b43052a79068d72b5689b8c6d901fbb72ea.tar.gz SMAPI-d3912b43052a79068d72b5689b8c6d901fbb72ea.tar.bz2 SMAPI-d3912b43052a79068d72b5689b8c6d901fbb72ea.zip |
Merge pull request #57 from Zoryn4163/master
0.39.1 inbound!
Diffstat (limited to 'StardewModdingAPI/Manifest.cs')
-rw-r--r-- | StardewModdingAPI/Manifest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StardewModdingAPI/Manifest.cs b/StardewModdingAPI/Manifest.cs index 91a28b8b..a1a9b6fb 100644 --- a/StardewModdingAPI/Manifest.cs +++ b/StardewModdingAPI/Manifest.cs @@ -17,7 +17,7 @@ namespace StardewModdingAPI /// <summary> /// The version of the mod. /// </summary> - public virtual string Version { get; set; } + public virtual Version Version { get; set; } /// <summary> /// A description of the mod. @@ -39,11 +39,11 @@ namespace StardewModdingAPI /// </summary> public virtual string EntryDll { get; set; } - protected override T GenerateBaseConfig<T>() + public override T GenerateDefaultConfig<T>() { Name = ""; Authour = ""; - Version = ""; + Version = new Version(0, 0, 0, ""); Description = ""; UniqueID = Guid.NewGuid().ToString(); PerSaveConfigs = false; |