mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 06:29:41 +00:00
Fix Logging
This commit is contained in:
1 parent
39e51bc8c2
commit
b60d6f8eb5
3 files changed
+10
-2
No files matched your search
@@ -33,6 +33,8 @@ public class ConfigDebug {
|
||||
public static Property ScriptLogIgnoreTypeProperty;
|
||||
public static String ScriptLogIgnoreType = "TICK";
|
||||
|
||||
public static boolean LogActionManager = false;
|
||||
|
||||
public static void init(File configFile) {
|
||||
config = new Configuration(configFile);
|
||||
|
||||
@@ -59,6 +61,9 @@ public class ConfigDebug {
|
||||
"INIT,TICK,INTERACT,DIALOG,DAMAGED,KILLED,ATTACK,TARGET,COLLIDE,KILLS,DIALOG_CLOSE,TIMER");
|
||||
ScriptLogIgnoreType = ScriptLogIgnoreTypeProperty.getString();
|
||||
|
||||
LogActionManager = config.get(LOGGING, "Log Action Manager", LogActionManager, "Log the Performance of the Action Manager").getBoolean(LogActionManager);
|
||||
|
||||
|
||||
// Convert to Legacy
|
||||
if (CustomNpcs.legacyExist) {
|
||||
PlayerLogging = LegacyConfig.PlayerLogging;
|
||||
|
||||
Reference in new issue
Block a user