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:
parent
aec81c5d3a
commit
dca542c386
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue