Skip to content

Commit f26320b

Browse files
committed
prevent blocking double break in the event the current secondary is pending and the break manager accepts a new break
1 parent eb5e2f7 commit f26320b

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
@@ -164,7 +164,7 @@ object PacketMine : Module(
164164
.map { it.context }
165165

166166
private fun addBreak(pos: BlockPos) {
167-
if (breakConfig.doubleBreak && breakPositions[1] == null) {
167+
if (breakConfig.doubleBreak && breakPositions[0] != null) {
168168
breakPositions[1] = breakPositions[0]
169169
}
170170
breakPositions[0] = pos

0 commit comments

Comments
 (0)