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 10167df4ef.
This commit is contained in:
high 2011-09-04 11:50:18 -04:00
parent ceec0be924
commit 7b23669e2f

View file

@ -67,7 +67,6 @@ namespace TShockAPI
public static bool OverridePort; public static bool OverridePort;
public static PacketBufferer PacketBuffer; public static PacketBufferer PacketBuffer;
public static MaxMind.GeoIPCountry Geo; public static MaxMind.GeoIPCountry Geo;
public static bool PostInit = false;
/// <summary> /// <summary>
/// Called after TShock is initialized. Useful for plugins that needs hooks before tshock but also depend on tshock being loaded. /// 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(); GetDataHandlers.InitGetDataHandler();
Commands.InitCommands(); Commands.InitCommands();
RconHandler.StartThread(); //RconHandler.StartThread();
if (Config.BufferPackets) if (Config.BufferPackets)
PacketBuffer = new PacketBufferer(); PacketBuffer = new PacketBufferer();
@ -360,11 +359,6 @@ namespace TShockAPI
private void OnUpdate() private void OnUpdate()
{ {
if (!PostInit)
{
OnPostInit();
PostInit = true;
}
UpdateManager.UpdateProcedureCheck(); UpdateManager.UpdateProcedureCheck();
if (Backups.IsBackupTime) if (Backups.IsBackupTime)