(Better) support for 1.9?
This is what shows up in 1.9:

I know that this project is pretty old, but it would be great if this could be fixed.
I have made a fix for that (probably bad code), if you want I can send you.
That would be great.
http://pastebin.com/8xHHVgfX
and this is a code example of how im using it
public static ItemStack armorModify(ItemStack stack, String slot)
{
Attributes ab = new Attributes(stack, slot);
ab.add(Attribute.newBuilder().name("Armor").type(AttributeType.GENERIC_ARMOR).amount(30).build());
ItemStack stack2 = ab.getStack();
return stack2;
}
dont know if you can still apply it to all slots
@Flawd could you reupload your code? Pastebin says the paste has expired :(
I dont have it anymore, sorry. Just use this, it's better: https://www.spigotmc.org/resources/item-attribute-modifier-api-library.22747/
Okay I finally found a solution for that bug.
ItemMeta meta = newItem.getItemMeta();
meta.addItemFlags(ItemFlag.HIDE_ATTRIBUTES);
That's it.