Sort the options
This commit is contained in:
@@ -62,6 +62,7 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
|
|||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Collections.sort(methods, String.CASE_INSENSITIVE_ORDER);
|
||||||
sender.sendMessage(ChatColor.DARK_RED + "Options: "
|
sender.sendMessage(ChatColor.DARK_RED + "Options: "
|
||||||
+ StringUtils.join(methods, ChatColor.DARK_RED + ", "));
|
+ StringUtils.join(methods, ChatColor.DARK_RED + ", "));
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user