From 550193615e42a9357fe9b219471c5b12d0639be8 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Wed, 19 Jul 2017 12:39:56 +1200 Subject: [PATCH] Better /disguisehelp information --- .../libraryaddict/disguise/commands/DisguiseHelpCommand.java | 1 + src/me/libraryaddict/disguise/utilities/LibsMsg.java | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java index a9c21817..5bac975e 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java @@ -185,6 +185,7 @@ public class DisguiseHelpCommand extends DisguiseBaseCommand implements TabCompl protected void sendCommandUsage(CommandSender sender, HashMap, Boolean>> map) { sender.sendMessage(LibsMsg.DHELP_HELP1.get()); + sender.sendMessage(LibsMsg.DHELP_HELP2.get()); for (ParamInfo s : ReflectionFlagWatchers.getParamInfos()) { sender.sendMessage(LibsMsg.DHELP_HELP2.get(s.getName().replaceAll(" ", ""), s.getDescription())); diff --git a/src/me/libraryaddict/disguise/utilities/LibsMsg.java b/src/me/libraryaddict/disguise/utilities/LibsMsg.java index 29905fcd..393963b5 100644 --- a/src/me/libraryaddict/disguise/utilities/LibsMsg.java +++ b/src/me/libraryaddict/disguise/utilities/LibsMsg.java @@ -24,7 +24,10 @@ public enum LibsMsg { DHELP_CANTFIND(ChatColor.RED + "Cannot find the disguise %s"), DHELP_HELP1( ChatColor.RED + "/disguisehelp " + ChatColor.GREEN + "- View the options you can set on a disguise. Add 'show' to reveal the options you don't have permission to use"), - DHELP_HELP2(ChatColor.RED + "/disguisehelp %s" + ChatColor.GREEN + " - %s"), + DHELP_HELP2( + ChatColor.RED + "/disguisehelp " + ChatColor.GREEN + "- View information about the " + + "disguise options such as 'RabbitType'"), + DHELP_HELP3(ChatColor.RED + "/disguisehelp %s" + ChatColor.GREEN + " - %s"), DHELP_OPTIONS("%s options: %s"), DISABLED_LIVING_TO_MISC( ChatColor.RED + "Can't disguise a living entity as a misc disguise. This has been disabled in the config!"),