diff --git a/src/main/java/debughandler/LogHandler.java b/src/main/java/debughandler/LogHandler.java index 07730c1..0ee63e4 100644 --- a/src/main/java/debughandler/LogHandler.java +++ b/src/main/java/debughandler/LogHandler.java @@ -20,6 +20,7 @@ public LogHandler(String nameSet) { @SuppressWarnings("ResultOfMethodCallIgnored") public void debugPrint(String str) { + if (!Config.debug.getBoolean(false)) return; try { File file = new File("DebugHandler/"); file.mkdirs();