Skip to content

Commit

Permalink
Fixed false positive for lore filter
Browse files Browse the repository at this point in the history
  • Loading branch information
foxfirecodes committed Jan 5, 2019
1 parent a47e5ab commit d649240
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public boolean isValidMatch(ItemStack item) {
List<String> lines = item.getItemMeta().getLore();

return line < 0
? lore.contains(lore)
? lines.contains(lore)
: lines.size() > line && lines.get(line).equals(lore);
}
}

0 comments on commit d649240

Please sign in to comment.