Added EnableAntiLag to ConfigFile.cs

This commit is contained in:
Lucas Nicodemus 2011-07-21 15:07:28 -06:00
parent d1e29e1035
commit a8e55d44e6
2 changed files with 8 additions and 2 deletions

View file

@ -116,8 +116,12 @@ namespace TShockAPI
private static bool HandleSync(GetDataHandlerArgs args)
{
Debug.WriteLine("FUCK SYNCS");
return true;
if (TShock.Config.EnableAntiLag)
{
Debug.WriteLine("FUCK SYNCS");
return true;
}
return false;
}
public static bool HandlerGetData(PacketTypes type, TSPlayer player, MemoryStream data)