From 20030487ef5d7b82cc5048af3691df8007188686 Mon Sep 17 00:00:00 2001 From: "Noah Clarkson (Unprotesting)" Date: Fri, 22 Jan 2021 15:32:05 +0000 Subject: [PATCH] Minor bug fix + Fixes #11 --- Auto-Tune/src/unprotesting/com/github/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());