Undid change to -rest-enabled that would limit the functionality of the startup parameter.

This commit is contained in:
Lucas Nicodemus 2012-02-04 21:24:53 -07:00
parent ccee8f3ff4
commit 9df8785415

View file

@ -375,7 +375,7 @@ namespace TShockAPI
}
if (parms[i].ToLower() == "-rest-enabled")
{
Config.RestApiEnabled = true;
Config.RestApiEnabled = Convert.ToBoolean(parms[++i]);
Console.WriteLine("Startup parameter overrode REST enable.");
}