diff --git a/TShockAPI/ConfigFile.cs b/TShockAPI/ConfigFile.cs index ed40bc9c..58c73228 100644 --- a/TShockAPI/ConfigFile.cs +++ b/TShockAPI/ConfigFile.cs @@ -137,8 +137,6 @@ namespace TShockAPI [Description("This will turn on token requirement for the public REST API endpoints.")] public bool EnableTokenEndpointAuthentication; - [Description("Deprecated. Use ServerName instead.")] public string ServerNickname = "TShock Server"; - [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; diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index f52cc1fd..395b129c 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1671,8 +1671,6 @@ namespace TShockAPI RconHandler.ListenPort = file.RconPort; Utils.HashAlgo = file.HashAlgorithm; - - file.ServerName = file.ServerNickname; } } }