From a94695bee094fa1a9c9cfe023330f61961225c0e Mon Sep 17 00:00:00 2001 From: Bunny_i <1160706050@qq.com> Date: Fri, 18 Aug 2023 22:04:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=9F=A5=E6=89=BE=E7=BA=A2?= =?UTF-8?q?=E7=9F=B3=E6=96=B9=E5=9D=97=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/yan/lx/bedrockminer/task/TaskSchemeFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/yan/lx/bedrockminer/task/TaskSchemeFinder.java b/src/main/java/yan/lx/bedrockminer/task/TaskSchemeFinder.java index 1954333..c8cd709 100644 --- a/src/main/java/yan/lx/bedrockminer/task/TaskSchemeFinder.java +++ b/src/main/java/yan/lx/bedrockminer/task/TaskSchemeFinder.java @@ -121,7 +121,7 @@ public static BlockPos[] findPistonNearbyRedstoneTorch(BlockPos pistonPos, Clien for (int i = 0; i < range; i++) { BlockPos pos = pistonPos.offset(direction, i); BlockState blockState = world.getBlockState(pos); - if (blockState.isOf(Blocks.REDSTONE_TORCH) || blockState.isOf(Blocks.REDSTONE_WALL_TORCH)) { + if (blockState.isOf(Blocks.REDSTONE_BLOCK) || blockState.isOf(Blocks.REDSTONE_WALL_TORCH)) { list.add(pos); } }