Remove deprecation config option because it is causing issues.
This commit is contained in:
parent
9aa27b9d3f
commit
f80ed62719
2 changed files with 0 additions and 4 deletions
|
|
@ -137,8 +137,6 @@ namespace TShockAPI
|
||||||
[Description("This will turn on token requirement for the public REST API endpoints.")] public bool
|
[Description("This will turn on token requirement for the public REST API endpoints.")] public bool
|
||||||
EnableTokenEndpointAuthentication;
|
EnableTokenEndpointAuthentication;
|
||||||
|
|
||||||
[Description("Deprecated. Use ServerName instead.")] public string ServerNickname = "TShock Server";
|
|
||||||
|
|
||||||
[Description("Enable/disable the rest api.")] public bool RestApiEnabled;
|
[Description("Enable/disable the rest api.")] public bool RestApiEnabled;
|
||||||
|
|
||||||
[Description("This is the port which the rest api will listen on.")] public int RestApiPort = 7878;
|
[Description("This is the port which the rest api will listen on.")] public int RestApiPort = 7878;
|
||||||
|
|
|
||||||
|
|
@ -1671,8 +1671,6 @@ namespace TShockAPI
|
||||||
RconHandler.ListenPort = file.RconPort;
|
RconHandler.ListenPort = file.RconPort;
|
||||||
|
|
||||||
Utils.HashAlgo = file.HashAlgorithm;
|
Utils.HashAlgo = file.HashAlgorithm;
|
||||||
|
|
||||||
file.ServerName = file.ServerNickname;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue