mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 06:24:12 +01:00
Fix leave finding in saws so compatibility with other mods works
This commit is contained in:
parent
2a8c3debeb
commit
f115233197
@ -208,7 +208,7 @@ public class TreeCutter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isLeaf(BlockState state) {
|
private static boolean isLeaf(BlockState state) {
|
||||||
return state.has(LeavesBlock.DISTANCE);
|
return state.has(LeavesBlock.DISTANCE) || state.isIn(BlockTags.LEAVES);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user