I'm trying to use this line of code to check if the item lore equals something... Its not working. (I get an NPE on this line). Code (Text): if(e.getItem().getItemMeta().getLore().contains("Speed I")){
Well that means something in this line is null. Figure out what is by splitting out the line and fix it from there.