meta.setDisplayName(ChatColor.RED + this.name);
meta.setLore(this.lore);
i.setItemMeta(meta);
return i;
}
<BUG>public ItemStack getBoolean(boolean flag) {
ItemStack i = new ItemStack(this.mat, this.amount, this.data);
</BUG>
ItemMeta meta = i.getItemMeta();
meta.setDisplayName(ChatColor.RED + this.name + (flag ? ChatColor.GREEN + " [TOGGLE ON]" : ChatColor.YELLOW + " [TOGGLE OFF]"));

meta.setDisplayName(ChatColor.RED + this.name);
meta.setLore(this.lore);
i.setItemMeta(meta);
return i;
}
public ItemStack getBoolean(boolean flag) {
if (this.wrappedMaterial.get() == null) { // Spigot 1.8 item that's not supported?
return null;
}
ItemStack i = new ItemStack(this.wrappedMaterial.get(), this.amount, this.data);
ItemMeta meta = i.getItemMeta();
meta.setDisplayName(ChatColor.RED + this.name + (flag ? ChatColor.GREEN + " [TOGGLE ON]" : ChatColor.YELLOW + " [TOGGLE OFF]"));
