Add hardmode-related commands

-/hardmode - starts hardmode and converts the world
-/stophardmode - sets hardmode state to false, does not revert world.
This commit is contained in:
Deathmax 2011-12-04 23:05:50 +08:00
parent c53a85b3c7
commit 2c45598c08
2 changed files with 15 additions and 0 deletions

View file

@ -138,6 +138,9 @@ namespace TShockAPI
[Description("")]
public static readonly string grow;
[Description("User can change hardmode state.")]
public static readonly string hardmode;
static Permissions()
{
foreach (var field in typeof(Permissions).GetFields())