commit
5ef56a7dcb
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ public class TagManager {
|
||||||
|
|
||||||
public static boolean isToolWithMineableTag(ItemStack stack, TagKey<Block> tag) {
|
public static boolean isToolWithMineableTag(ItemStack stack, TagKey<Block> tag) {
|
||||||
if (stack.getItem() instanceof DiggerItemAccessor dig) {
|
if (stack.getItem() instanceof DiggerItemAccessor dig) {
|
||||||
return dig.bclib_getBlockTag().equals(tag);
|
return dig.bclib_getBlockTag() == tag;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue