Enforce new() constraint on ConfigFile<TSettings>
This commit is contained in:
parent
96d7d2c54a
commit
50c1b757be
3 changed files with 2 additions and 12 deletions
|
|
@ -592,11 +592,6 @@ namespace TShockAPI.Configuration
|
|||
/// </summary>
|
||||
public class TShockConfig : ConfigFile<TShockSettings>
|
||||
{
|
||||
/// <summary>
|
||||
/// TShock settings managed by this configuration object
|
||||
/// </summary>
|
||||
public override TShockSettings Settings { get; set; } = new TShockSettings();
|
||||
|
||||
/// <summary>
|
||||
/// Upgrades the configuration file from the old format if required, then reads and returns the currently configured <see cref="TShockSettings"/>
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue