Added an option to hide stat tracker debug messages

This commit is contained in:
Lucas Nicodemus 2012-05-29 20:24:17 -06:00
parent 7f5ee044c9
commit 7eab1b55d3
2 changed files with 4 additions and 1 deletions

View file

@ -86,7 +86,8 @@ namespace TShockAPI
Environment.OSVersion + "&mono=" + Main.runningMono + "&port=" + Netplay.serverPort +
"&plcount=" + TShock.Utils.ActivePlayers());
}
Log.ConsoleInfo("Stat Tracker: " + response);
if (!TShock.Config.HideStatTrackerDebugMessages)
Log.ConsoleInfo("Stat Tracker: " + response);
}
catch (Exception e)
{