Skip to content

Commit

Permalink
fix(bukkit): Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Dec 13, 2024
1 parent 2080722 commit 4d54e25
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4d54e25

Please sign in to comment.