From dca542c386a978e456a49c8f63690192ae50a963 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Sat, 23 Dec 2017 17:28:54 -0700 Subject: [PATCH] Remove IP reset code in TShock init This is now handled by the dedicated server in ServerLoop(): Netplay.ServerIP = IPAddress.Any; --- TShockAPI/TShock.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index f6acb8e7..0996c9a9 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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)