From 4d54e25fd7a9c83c8a08d2b0a4fccf058c8c0975 Mon Sep 17 00:00:00 2001 From: HaHaWTH <102713261+HaHaWTH@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:16:42 -0800 Subject: [PATCH] fix(bukkit): Remove unused code --- .../main/java/io/wdsj/asw/bukkit/AdvancedSensitiveWords.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/bukkit/src/main/java/io/wdsj/asw/bukkit/AdvancedSensitiveWords.java b/bukkit/src/main/java/io/wdsj/asw/bukkit/AdvancedSensitiveWords.java index 0126ac1..9c070fc 100644 --- a/bukkit/src/main/java/io/wdsj/asw/bukkit/AdvancedSensitiveWords.java +++ b/bukkit/src/main/java/io/wdsj/asw/bukkit/AdvancedSensitiveWords.java @@ -134,7 +134,6 @@ public void onEnable() { scheduler = UniversalScheduler.getScheduler(this); permCache = CachingPermTool.enable(this); BookCache.initialize(); - LoggingUtils.start(); WordReplace.clearCache(); doInitTasks(); if (settingsManager.getProperty(PluginSettings.PURGE_LOG_FILE)) purgeLog(); @@ -268,7 +267,6 @@ public void onDisable() { SchedulingUtils.cancelTaskSafely(violationResetTask); if (permCache != null) permCache.disable(); if (isInitialized) sensitiveWordBs.destroy(); - LoggingUtils.stop(); Objects.requireNonNull(getCommand("advancedsensitivewords")).setExecutor(null); Objects.requireNonNull(getCommand("asw")).setExecutor(null); Objects.requireNonNull(getCommand("advancedsensitivewords")).setTabCompleter(null);