Skip to content

Commit aa8f794

Browse files
committed
formatting
1 parent f26320b commit aa8f794

File tree

1 file changed

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

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,9 @@ object PacketMine : Module(
132132
}
133133
val request = BreakRequest(
134134
breakContexts, build, rotation, hotbar, pendingInteractions = pendingInteractionsList,
135-
onAccept = {
136-
addBreak(it)
137-
queuePositions.remove(it)
138-
},
135+
onAccept = { queuePositions.remove(it); addBreak(it) },
139136
onCancel = { removeBreak(it, true) },
140-
onBreak = {
141-
breaks++
142-
removeBreak(it)
143-
},
137+
onBreak = { removeBreak(it); breaks++ },
144138
onReBreakStart = { reBreakPos = it },
145139
onReBreak = { reBreakPos = it },
146140
onItemDrop = { _ -> itemDrops++ }

0 commit comments

Comments
 (0)