From 1b6994a9d589898826cbfd97fa0149f18b50d1b3 Mon Sep 17 00:00:00 2001 From: hunterboerner Date: Sat, 7 Dec 2013 22:03:10 -0600 Subject: [PATCH] fix null --- src/main/java/debughandler/LogHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/debughandler/LogHandler.java b/src/main/java/debughandler/LogHandler.java index 0ee63e4..f0e6878 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 == null) return; if (!Config.debug.getBoolean(false)) return; try { File file = new File("DebugHandler/");