From 2b7053c724fb8cd3213ae948bfd8712dab97c626 Mon Sep 17 00:00:00 2001 From: Andre601 Date: Sun, 30 Jul 2023 19:26:45 +0200 Subject: [PATCH] Don't clear caches on reload --- .../advancedserverlist/core/commands/CommandHandler.java | 8 +------- pom.xml | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java b/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java index 240e87a8..46e6d267 100644 --- a/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java +++ b/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java @@ -78,7 +78,7 @@ public void handle(CmdSender sender){ sender.sendMsg(); sender.sendMsg("/asl help - Shows this help"); sender.sendMsg(); - sender.sendMsg("/asl reload - Reloads the plugin and clears caches"); + sender.sendMsg("/asl reload - Reloads the config.yml and profiles"); sender.sendMsg(); sender.sendMsg("/asl clearCache - Clears the Player and Favicon cache"); } @@ -110,12 +110,6 @@ public void handle(CmdSender sender){ sender.sendErrorMsg("Error while loading profile(s)!"); } - core.clearFaviconCache(); - sender.sendPrefixedMsg("Successfully cleared Favicon Cache!"); - - core.clearPlayerCache(); - sender.sendPrefixedMsg("Successfully cleared Player Cache!"); - sender.sendPrefixedMsg("Reload complete!"); } } diff --git a/pom.xml b/pom.xml index 44dfc007..df44d979 100644 --- a/pom.xml +++ b/pom.xml @@ -38,7 +38,7 @@ UTF-8 - 3.3.0-b1 + 3.3.0 Create multiple Server lists based on conditions. v3.0.0