Update TagManager.java
This commit is contained in:
parent
41b1d9eb68
commit
b9bc3d9c2b
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) {
|
||||
if (stack.getItem() instanceof DiggerItemAccessor dig) {
|
||||
return dig.bclib_getBlockTag().equals(tag);
|
||||
return dig.bclib_getBlockTag() == tag;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue