summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Config.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Config.cs')
-rw-r--r--src/StardewModdingAPI/Config.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Config.cs b/src/StardewModdingAPI/Config.cs
index 0d94ba76..037c0fdf 100644
--- a/src/StardewModdingAPI/Config.cs
+++ b/src/StardewModdingAPI/Config.cs
@@ -72,7 +72,10 @@ namespace StardewModdingAPI
/// <summary>Get the default config values.</summary>
[Obsolete("This base class is obsolete since SMAPI 1.0. See the latest project README for details.")]
- public abstract T GenerateDefaultConfig<T>() where T : Config;
+ public virtual T GenerateDefaultConfig<T>() where T : Config
+ {
+ return null;
+ }
/// <summary>Get the current configuration with missing values defaulted.</summary>
/// <typeparam name="T">The config class type.</typeparam>