diff --git a/Auto-Tune/src/unprotesting/com/github/Main.java b/Auto-Tune/src/unprotesting/com/github/Main.java index 8dd42b0..92215a8 100644 --- a/Auto-Tune/src/unprotesting/com/github/Main.java +++ b/Auto-Tune/src/unprotesting/com/github/Main.java @@ -189,7 +189,7 @@ public void onDisable() { } try { closeDataFiles(); - } catch (ClassNotFoundException e) { + } catch (NullPointerException | ClassNotFoundException e) { Main.log("Error: Could not close data files correctly."); } scheduler.cancelTasks(getINSTANCE());