From 0c46a2ddcf0b3cc45977f9526d9d6b318c6aea3c Mon Sep 17 00:00:00 2001 From: George Date: Sat, 18 Jul 2015 10:59:48 +0100 Subject: [PATCH] Move three startup args back to ServerApi --- TShockAPI/TShock.cs | 26 -------------------------- TerrariaServerAPI | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index d1115ffb..d6f141d1 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -680,32 +680,6 @@ namespace TShockAPI break; } - case "-ignoreversion": - { - ServerApi.IgnoreVersion = true; - ServerApi.LogWriter.PluginWriteLine(this, - "Plugin versions are no longer being regarded, you are on your own! If problems arise, TShock developers will not help you with issues regarding this.", - TraceLevel.Warning); - - break; - } - case "-forceupdate": - { - ServerApi.ForceUpdate = true; - ServerApi.LogWriter.PluginWriteLine(this, - "Forcing game updates regardless of players! This is experimental, and will cause constant CPU usage, you are on your own.", - TraceLevel.Warning); - - break; - } - case "-asyncmono": - { - ServerApi.UseAsyncSocketsInMono = true; - ServerApi.LogWriter.PluginWriteLine(this, - "Forcing Mono to use asynchronous sockets. This is highly experimental and may not work on all versions of Mono.", - TraceLevel.Warning); - break; - } } } } diff --git a/TerrariaServerAPI b/TerrariaServerAPI index 0672f953..984310b2 160000 --- a/TerrariaServerAPI +++ b/TerrariaServerAPI @@ -1 +1 @@ -Subproject commit 0672f953608a6627923b34cff164641ac55d68ba +Subproject commit 984310b2f9daedc7e4f4eaa4d59f325b4d8209be