From 7b23669e2f2c27f17b9b59e1aacfcf0aea66aebb Mon Sep 17 00:00:00 2001 From: high Date: Sun, 4 Sep 2011 11:50:18 -0400 Subject: [PATCH] Do not enable RconHandler unless you fix it up. Remember, general-devel is not for incomplete features. Also you were late on that PostInit fix. Revert "RCONNNNNN" This reverts commit 10167df4efb1c508fe777728ae8b901b48ee1715. --- TShockAPI/TShock.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 9ae676a1..1b06aaef 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -67,7 +67,6 @@ namespace TShockAPI public static bool OverridePort; public static PacketBufferer PacketBuffer; public static MaxMind.GeoIPCountry Geo; - public static bool PostInit = false; /// /// Called after TShock is initialized. Useful for plugins that needs hooks before tshock but also depend on tshock being loaded. @@ -191,7 +190,7 @@ namespace TShockAPI GetDataHandlers.InitGetDataHandler(); Commands.InitCommands(); - RconHandler.StartThread(); + //RconHandler.StartThread(); if (Config.BufferPackets) PacketBuffer = new PacketBufferer(); @@ -360,11 +359,6 @@ namespace TShockAPI private void OnUpdate() { - if (!PostInit) - { - OnPostInit(); - PostInit = true; - } UpdateManager.UpdateProcedureCheck(); if (Backups.IsBackupTime)