Merge pull request #1602 from Pryaxis/revert-1583-noip
Revert "Remove IP reset code in TShock init"
This commit is contained in:
commit
f100f2d543
1 changed files with 4 additions and 0 deletions
|
|
@ -220,6 +220,10 @@ 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