Skip to content

Commit 50ae6d7

Browse files
committed
check updatedThisTick over activeAge
1 parent a5096a2 commit 50ae6d7

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/breaking

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ object BreakManager : RequestHandler<BreakRequest>(
344344
val breakInfo = BreakInfo(requestCtx, Primary, request)
345345
primaryBreak?.let { primaryInfo ->
346346
if (!breakInfo.breakConfig.doubleBreak || secondaryBreak != null) {
347-
if (primaryInfo.activeAge > 0) {
347+
if (!primaryInfo.updatedThisTick) {
348348
primaryInfo.abortBreakPacket(world, interaction)
349349
return@let
350350
} else return null

0 commit comments

Comments
 (0)