disable some debug flags by default...most importantly, add the scriptListLoadUnload [GameServer] flag, which toggles the "script_class_loader" spam on and off

This commit is contained in:
DarthArgus
2016-07-20 00:01:54 +00:00
parent 191ad6f90a
commit 1486c84de2
5 changed files with 18 additions and 8 deletions
@@ -90,8 +90,7 @@ public class script_entry
private static void checkEnableProfiling()
{
String result = base_class.getConfigSetting("GameServer", "javaEngineProfiling");
boolean ret = result != null && (result.equals("on") || result.equals("1") || result.equals("true"));
System.err.println("Profiling: " + ret);
boolean ret = (result != null && (result.equals("on") || result.equals("1") || result.equals("true")));
ENABLE_PROFILING = ret;
profileSettingInitialized = true;
}