Add painting to disguise help

This commit is contained in:
libraryaddict 2013-11-24 08:53:08 +13:00
parent 979ff545a5
commit e48c8db360

View File

@ -89,6 +89,12 @@ public class DisguiseHelpCommand extends BaseDisguiseCommand {
"org.bukkit.entity.Villager$Profession").getEnumConstants())); "org.bukkit.entity.Villager$Profession").getEnumConstants()));
} catch (Exception ex) { } catch (Exception ex) {
} }
try {
enumHelp.add(new EnumHelp("Painting", "Paintings", ChatColor.RED + "/disguisehelp Painting " + ChatColor.GREEN
+ "- View all the paintings you can use on a painting disguise", (Enum[]) Class.forName("org.bukkit.Art")
.getEnumConstants()));
} catch (Exception ex) {
}
try { try {
ArrayList<String> enumReturns = new ArrayList<String>(); ArrayList<String> enumReturns = new ArrayList<String>();
for (PotionEffectType potionType : PotionEffectType.values()) { for (PotionEffectType potionType : PotionEffectType.values()) {