diff --git a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java index 84588400..9f9c21e6 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseHelpCommand.java @@ -65,6 +65,12 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand { } catch (Exception ex) { ex.printStackTrace(); } + try { + enumHelp.add(new EnumHelp("Art", "Arts", ChatColor.RED + "/disguisehelp Art " + ChatColor.GREEN + + "- View all the painting arts you can use on a painting disguise", (Enum[]) Class.forName("org.bukkit.Art") + .getEnumConstants())); + } catch (Exception ex) { + } try { enumHelp.add(new EnumHelp("HorseColor", "Horse colors", ChatColor.RED + "/disguisehelp HorseColors " + ChatColor.GREEN + "- View all the colors you can use for a horses color", (Enum[]) Class.forName( @@ -83,18 +89,6 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand { "org.bukkit.entity.Ocelot$Type").getEnumConstants())); } catch (Exception ex) { } - try { - enumHelp.add(new EnumHelp("Profession", "Villager professions", ChatColor.RED + "/disguisehelp Professions " - + ChatColor.GREEN + "- View all the professions you can set on a villager", (Enum[]) Class.forName( - "org.bukkit.entity.Villager$Profession").getEnumConstants())); - } catch (Exception ex) { - } - try { - enumHelp.add(new EnumHelp("Art", "Arts", ChatColor.RED + "/disguisehelp Art " + ChatColor.GREEN - + "- View all the painting arts you can use on a painting disguise", (Enum[]) Class.forName("org.bukkit.Art") - .getEnumConstants())); - } catch (Exception ex) { - } try { ArrayList enumReturns = new ArrayList(); for (PotionEffectType potionType : PotionEffectType.values()) { @@ -108,6 +102,12 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand { } catch (Exception ex) { ex.printStackTrace(); } + try { + enumHelp.add(new EnumHelp("Profession", "Villager professions", ChatColor.RED + "/disguisehelp Professions " + + ChatColor.GREEN + "- View all the professions you can set on a villager", (Enum[]) Class.forName( + "org.bukkit.entity.Villager$Profession").getEnumConstants())); + } catch (Exception ex) { + } } @Override