I need some help guys, i'm trying to make a plugin for my server. There is the: Code:java Material.matchMaterial(striing); I need something like that but that matches lore, not material. Thanks
Can you provide an example please? I supposse you are talking about creating an ArrayList that stores the lore, and then call it with itemmeta.getLore().contains(arraylist); Sorry for my english. thanks
ARCT3CK PHP: if(meta1.getLore().equals(meta2.getLore())) You also don't need to check if it equals another ItemMeta's lore, I believe you can check if it equals anything thats like a string, like a string, displayname, etc.
ARCT3CK I never said use contains, but you've got part of it down. You want to use equals(), comparing the two lists (lore and your List)