Remove IP reset code in TShock init

This is now handled by the dedicated server in ServerLoop():
	Netplay.ServerIP = IPAddress.Any;
This commit is contained in:
Lucas Nicodemus 2017-12-23 17:28:54 -07:00
parent aec81c5d3a
commit dca542c386

View file

@ -220,10 +220,6 @@ namespace TShockAPI
Main.ServerSideCharacter = ServerSideCharacterConfig.Enabled;
//TSAPI previously would do this automatically, but the vanilla server wont
if (Netplay.ServerIP == null)
Netplay.ServerIP = IPAddress.Any;
DateTime now = DateTime.Now;
// Log path was not already set by the command line parameter?
if (LogPath == LogPathDefault)