Fix typo in BlockScanUtils patch, fixes placing cushions. Closes #10889

This commit is contained in:
LexManos committed 2026-09-25 19:13:42 -07:00
1 parent 5afe3c050c
commit 26eeb1cc70
1 file changed
+1 -1
@@ -4,7 +4,7 @@
final Predicate<BlockState> predicate,
final BlockStateConsumer consumer
) {
+ return findBlocksInSection(section, origin, fromX, fromY, fromX, toX, toY, toZ, (state, pos) -> predicate.test(state), consumer);
+ return findBlocksInSection(section, origin, fromX, fromY, fromZ, toX, toY, toZ, (state, _) -> predicate.test(state), consumer);
+ }
+
+ public static boolean findBlocksInSection(