File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
common/src/main/kotlin/com/lambda
interaction/request/breaking Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1818package com.lambda.interaction.request.breaking
1919
2020import com.lambda.config.groups.BuildConfig
21- import com.lambda.context.SafeContext
2221import com.lambda.interaction.construction.context.BreakContext
2322import com.lambda.interaction.construction.context.BuildContext
2423import com.lambda.interaction.request.Priority
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ object PacketMine : Module(
7878 sendBreakRequest(event.pos)
7979 }
8080
81- listen<TickEvent .Input .Pre > {
81+ listen<TickEvent .Input .Post > {
8282 if (! requestedThisTick) sendBreakRequest()
8383 }
8484 }
@@ -94,7 +94,7 @@ object PacketMine : Module(
9494 onAccept = { breakingPositions[0 ] = it },
9595 onCancel = { nullifyBreakPos(it) },
9696 onBreak = { breaks++ ; nullifyBreakPos(it) },
97- { _ -> itemDrops++ }
97+ onItemDrop = { _ -> itemDrops++ }
9898 )
9999 breakConfig.request(request)
100100 requestedThisTick = true
You can’t perform that action at this time.
0 commit comments