diff options
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; |