Remove duplicated -rest-enabled flags
This commit is contained in:
parent
2d12cbe398
commit
c1f6204045
1 changed files with 0 additions and 4 deletions
|
|
@ -376,10 +376,6 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
Config.RestApiEnabled = Convert.ToBoolean(parms[++i]);
|
Config.RestApiEnabled = Convert.ToBoolean(parms[++i]);
|
||||||
}
|
}
|
||||||
if (parms[i].ToLower() == "-rest-enabled")
|
|
||||||
{
|
|
||||||
Config.RestApiEnabled = Convert.ToBoolean(parms[++i]);
|
|
||||||
}
|
|
||||||
if (parms[i].ToLower() == "-rest-port")
|
if (parms[i].ToLower() == "-rest-port")
|
||||||
{
|
{
|
||||||
Config.RestApiPort = Convert.ToInt32(parms[++i]);
|
Config.RestApiPort = Convert.ToInt32(parms[++i]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue