mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-13 05:54:01 +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