We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d40644 commit 339f00dCopy full SHA for 339f00d
1 file changed
common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt
@@ -310,7 +310,10 @@ object BreakManager : RequestHandler<BreakRequest>(
310
}
311
312
313
- return !blockState(ctx.expectedPos).isEmpty
+ val blockState = blockState(ctx.expectedPos)
314
+ val hardness = ctx.checkedState.getHardness(world, ctx.expectedPos)
315
+
316
+ return !blockState.isEmpty && hardness != 600f && hardness != -1f
317
318
319
/**
0 commit comments