log compatibility on some mods

This commit is contained in:
Jottyfan
2023-10-31 20:50:39 +01:00
parent a687e935b2
commit 8661f7f12e
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public class ToolRangeableAxe extends AxeItem implements ToolRangeable {
@Override
public boolean canBreakNeighbors(BlockState blockIn) {
return super.isSuitableFor(blockIn) || isLeavesBlock(blockIn);
return super.isSuitableFor(blockIn) || isLeavesBlock(blockIn) || blockIn.isIn(BlockTags.LOGS);
}
@Override