Improvements for servers using permissions

This commit is contained in:
2022-03-18 19:01:20 -05:00
parent d7cbbc8d52
commit d8c6c3b4a8
2 changed files with 3 additions and 3 deletions

View File

@ -71,6 +71,7 @@ public class PlexCMD extends PlexCommand
}
if (args[1].equalsIgnoreCase("reload"))
{
checkRank(sender, Rank.SENIOR_ADMIN, "plex.modules.reload");
plugin.getModuleManager().unloadModules();
plugin.getModuleManager().loadAllModules();
plugin.getModuleManager().loadModules();