Help now includes the disguisetype when displaying back

This commit is contained in:
Andrew 2013-11-06 05:42:34 +13:00
parent 09e353213e
commit 90e670c4a5

View File

@ -67,7 +67,8 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
ex.printStackTrace(); ex.printStackTrace();
} }
Collections.sort(methods, String.CASE_INSENSITIVE_ORDER); Collections.sort(methods, String.CASE_INSENSITIVE_ORDER);
sender.sendMessage(ChatColor.DARK_RED + "Options: " + StringUtils.join(methods, ChatColor.DARK_RED + ", ")); sender.sendMessage(ChatColor.DARK_RED + type.toReadable() + " options: "
+ StringUtils.join(methods, ChatColor.DARK_RED + ", "));
return true; return true;
} }
} }