diff --git a/pom.xml b/pom.xml index c6f176cd..e2965cd9 100644 --- a/pom.xml +++ b/pom.xml @@ -283,7 +283,7 @@ com.dumptruckman.minecraft Logging - 1.0.1 + 1.0.2 jar compile diff --git a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java index 9b6b9bc3..456acac1 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java +++ b/src/main/java/com/onarandombox/MultiverseCore/MultiverseCore.java @@ -800,10 +800,10 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core { @Override public void onDisable() { this.saveMVConfigs(); - Logging.close(); this.banker = null; this.bank = null; log(Level.INFO, "- Disabled"); + Logging.shutdown(); } /** @@ -867,7 +867,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core { */ @Override public void log(Level level, String msg) { - Logging.log(level, msg, false); + Logging.logStatic(level, msg); } /** @@ -881,7 +881,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core { */ @Deprecated public static void staticLog(Level level, String msg) { - Logging.log(level, msg, false); + Logging.logStatic(level, msg); } /** @@ -896,7 +896,7 @@ public class MultiverseCore extends JavaPlugin implements MVPlugin, Core { */ @Deprecated public static void staticDebugLog(Level level, String msg) { - Logging.log(level, msg, false); + Logging.logStatic(level, msg); } /**