Sort the options

This commit is contained in:
Andrew 2013-11-06 04:40:41 +13:00
parent 742b072c2b
commit 4a40ac6ec1

View File

@ -62,6 +62,7 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
} catch (Exception ex) {
ex.printStackTrace();
}
Collections.sort(methods, String.CASE_INSENSITIVE_ORDER);
sender.sendMessage(ChatColor.DARK_RED + "Options: "
+ StringUtils.join(methods, ChatColor.DARK_RED + ", "));
return true;