Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Don't clear caches on reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre601 committed Jul 30, 2023
1 parent 8d81367 commit 2b7053c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void handle(CmdSender sender){
sender.sendMsg();
sender.sendMsg("<aqua>/asl <white>help <grey>- Shows this help");
sender.sendMsg();
sender.sendMsg("<aqua>/asl <white>reload <grey>- Reloads the plugin and clears caches");
sender.sendMsg("<aqua>/asl <white>reload <grey>- Reloads the config.yml and profiles");
sender.sendMsg();
sender.sendMsg("<aqua>/asl <white>clearCache <grey>- Clears the Player and Favicon cache");
}
Expand Down Expand Up @@ -110,12 +110,6 @@ public void handle(CmdSender sender){
sender.sendErrorMsg("<red>Error while loading profile(s)!");
}

core.clearFaviconCache();
sender.sendPrefixedMsg("<green>Successfully cleared Favicon Cache!");

core.clearPlayerCache();
sender.sendPrefixedMsg("<green>Successfully cleared Player Cache!");

sender.sendPrefixedMsg("<green>Reload complete!");
}
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.commit/>

<plugin.version>3.3.0-b1</plugin.version>
<plugin.version>3.3.0</plugin.version>
<plugin.description>Create multiple Server lists based on conditions.</plugin.description>

<api.version>v3.0.0</api.version>
Expand Down

0 comments on commit 2b7053c

Please sign in to comment.