From f115233197a49d5b5a914e7e8ff7fa73003aa3c6 Mon Sep 17 00:00:00 2001 From: grimmauld Date: Thu, 11 Mar 2021 20:31:23 +0100 Subject: [PATCH] Fix leave finding in saws so compatibility with other mods works --- .../java/com/simibubi/create/foundation/utility/TreeCutter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/foundation/utility/TreeCutter.java b/src/main/java/com/simibubi/create/foundation/utility/TreeCutter.java index 32923920b..1432d99ff 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/TreeCutter.java +++ b/src/main/java/com/simibubi/create/foundation/utility/TreeCutter.java @@ -208,7 +208,7 @@ public class TreeCutter { } private static boolean isLeaf(BlockState state) { - return state.has(LeavesBlock.DISTANCE); + return state.has(LeavesBlock.DISTANCE) || state.isIn(BlockTags.LEAVES); } }