Skip to content

Commit f471659

Browse files
committed
ignore break attempts at already secondary breaking blocks
1 parent bacff64 commit f471659

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/player

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/module/modules/player/PacketMine.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ object PacketMine : Module(
115115
}
116116
}
117117
positions.removeIf { breakPos ->
118-
queue && queuePositions.any { it == breakPos }
118+
(queue && queuePositions.any { it == breakPos }) || breakPos == breakPositions[1]
119119
}
120120
if (positions.isEmpty()) return@listen
121121
val activeBreaking = if (queue) {

0 commit comments

Comments
 (0)