Skip to content

Commit ff5d79d

Browse files
committed
add back postEvent calls
1 parent 1ce0eb9 commit ff5d79d

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ object BreakManager : RequestHandler<BreakRequest>(), PositionBlocking {
155155
}
156156

157157
requestRotate()
158-
if (!validRotation) return@listen
158+
if (!validRotation) {
159+
postEvent()
160+
return@listen
161+
}
159162

160163
// ToDo: dynamically update hotbarIndex as contexts are persistent and don't get updated by new requests each tick
161164
// Reversed so that the breaking order feels natural to the user as the primary break has to
@@ -168,6 +171,8 @@ object BreakManager : RequestHandler<BreakRequest>(), PositionBlocking {
168171
updateBlockBreakingProgress(info)
169172
activeThisTick = true
170173
}
174+
175+
postEvent()
171176
}
172177

173178
listen<WorldEvent.BlockUpdate.Server> { event ->

0 commit comments

Comments
 (0)