Sort the options
This commit is contained in:
parent
742b072c2b
commit
4a40ac6ec1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user