Update TagManager.java

This commit is contained in:
agnor99 2022-10-31 19:57:36 +01:00
parent 41b1d9eb68
commit b9bc3d9c2b

View file

@ -118,7 +118,7 @@ public class TagManager {
public static boolean isToolWithMineableTag(ItemStack stack, TagKey<Block> tag) {
if (stack.getItem() instanceof DiggerItemAccessor dig) {
return dig.bclib_getBlockTag().equals(tag);
return dig.bclib_getBlockTag() == tag;
}
return false;
}