Allow users to disable hardmode from occurring.

This commit is contained in:
Deathmax 2011-12-18 21:08:04 +08:00
parent b497183423
commit c8c2307935
2 changed files with 10 additions and 0 deletions

View file

@ -223,6 +223,9 @@ namespace TShockAPI
[Description("Kicks banned users by their IP")]
public bool EnableIPBans = true;
[Description("Disables hardmode, can't never be activated. Overrides /starthardmode")]
public bool DisableHardmode = false;
public static ConfigFile Read(string path)
{
if (!File.Exists(path))