We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7a1715 commit c3ade02Copy full SHA for c3ade02
common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt
@@ -566,12 +566,14 @@ object BreakManager : RequestHandler<BreakRequest>(
566
if (isPrimary) {
567
if (breaking) abortBreakPacket(world, interaction)
568
nullify()
569
+ request.onCancel?.invoke(context.blockPos)
570
} else if (isSecondary) {
- if (breakConfig.unsafeCancels) makeRedundant()
571
+ if (breakConfig.unsafeCancels) {
572
+ makeRedundant()
573
574
+ }
575
else abandoned = true
576
}
-
- request.onCancel?.invoke(context.blockPos)
577
578
579
/**
0 commit comments