File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
common/src/main/kotlin/com/lambda/interaction/request/breaking Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ object BreakManager : RequestHandler<BreakRequest>(
464464 val breakInfo = BreakInfo (requestCtx, Primary , request)
465465 primaryBreak?.let { primaryInfo ->
466466 if (! breakInfo.breakConfig.doubleBreak || secondaryBreak != null ) {
467- if (! primaryInfo.updatedThisTick && tickStage in primaryInfo.breakConfig.breakStageMask ) {
467+ if (! primaryInfo.updatedThisTick) {
468468 primaryInfo.cancelBreak()
469469 return @let
470470 } else return null
@@ -475,8 +475,6 @@ object BreakManager : RequestHandler<BreakRequest>(
475475 return secondaryBreak
476476 }
477477
478- if (tickStage !in primaryInfo.breakConfig.breakStageMask) return null
479-
480478 primaryInfo.stopBreakPacket(world, interaction)
481479 primaryInfo.makeSecondary()
482480 return @let
@@ -560,7 +558,6 @@ object BreakManager : RequestHandler<BreakRequest>(
560558 runSafe {
561559 if (isRedundant || abandoned) return @runSafe
562560 if (isPrimary) {
563- if (breaking) abortBreakPacket(world, interaction)
564561 nullify()
565562 setBreakingTextureStage(player, world, - 1 )
566563 request.onCancel?.invoke(context.blockPos)
You can’t perform that action at this time.
0 commit comments