From 58b8a10fad9223634834139471bc4bd95ccf53d2 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 8 Nov 2013 09:23:28 +1300 Subject: [PATCH] Cleaned up names in DisguiseHelpCommand --- .../disguise/commands/DisguiseHelpCommand.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java index 4afcbf1a..9cca355c 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java @@ -32,13 +32,13 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand { Enum[] enums = null; String enumName = null; ArrayList enumReturns = new ArrayList(); - if (args[0].equalsIgnoreCase("animalcolor") || args[0].equalsIgnoreCase("animalcolors")) { + if (args[0].equalsIgnoreCase("AnimalColor") || args[0].equalsIgnoreCase("AnimalColors")) { enums = AnimalColor.values(); enumName = "Animal colors"; - } else if (args[0].equalsIgnoreCase("horsecolor") || args[0].equalsIgnoreCase("horsecolors")) { + } else if (args[0].equalsIgnoreCase("HorseColor") || args[0].equalsIgnoreCase("HorseColors")) { enums = Color.values(); enumName = "Horse colors"; - } else if (args[0].equalsIgnoreCase("horsestyle") || args[0].equalsIgnoreCase("horsestyles")) { + } else if (args[0].equalsIgnoreCase("HorseStyle") || args[0].equalsIgnoreCase("HorseStyles")) { enums = Style.values(); enumName = "Horse styles"; } else if (args[0].equalsIgnoreCase("OcelotType") || args[0].equalsIgnoreCase("OcelotTypes")) { @@ -48,7 +48,7 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand { enums = Profession.values(); enumName = "Villager professions"; } else if (args[0].equalsIgnoreCase("PotionEffect") || args[0].equalsIgnoreCase("PotionEffects")) { - enumName = "Potioneffects"; + enumName = "PotionEffect"; for (PotionEffectType potionType : PotionEffectType.values()) { if (potionType != null) enumReturns.add(toReadable(potionType.getName()) + ChatColor.RED + "(" + ChatColor.GREEN