Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
fixed type filter not actually filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Sep 13, 2023
1 parent 95361b7 commit 59b4c1a
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 accepts(ItemStack stack) {
if (compare.isEmpty()) return false;
compare = compare.substring(0, compare.lastIndexOf("/"));

boolean hasTag = tags.contains(TagUtils.getItemTag(new ResourceLocation(compare)));
boolean hasTag = stack.is(TagUtils.getItemTag(new ResourceLocation(compare)));
return blacklist != hasTag;
}).orElse(false);
}
Expand Down

0 comments on commit 59b4c1a

Please sign in to comment.