Skip to content

Commit e98523b

Browse files
committed
fixed place managers pending interactions type
1 parent 739e9ad commit e98523b

File tree

1 file changed

+3
-3
lines changed
  • common/src/main/kotlin/com/lambda/interaction/request/placing

1 file changed

+3
-3
lines changed

common/src/main/kotlin/com/lambda/interaction/request/placing/PlaceManager.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import com.lambda.event.events.MovementEvent
2323
import com.lambda.event.events.TickEvent
2424
import com.lambda.event.events.UpdateManagerEvent
2525
import com.lambda.event.listener.SafeListener.Companion.listen
26+
import com.lambda.interaction.construction.context.PlaceContext
2627
import com.lambda.interaction.request.RequestHandler
27-
import com.lambda.interaction.request.breaking.BreakManager.BreakInfo
2828
import com.lambda.interaction.request.hotbar.HotbarRequest
2929
import com.lambda.interaction.request.rotation.RotationManager.onRotate
3030
import com.lambda.module.modules.client.TaskFlowModule
@@ -34,9 +34,9 @@ import com.lambda.util.collections.LimitedDecayQueue
3434
import net.minecraft.util.Hand
3535

3636
object PlaceManager : RequestHandler<PlaceRequest>() {
37-
private val pendingInteractions = LimitedDecayQueue<BreakInfo>(
37+
private val pendingInteractions = LimitedDecayQueue<PlaceContext>(
3838
TaskFlowModule.build.maxPendingInteractions, TaskFlowModule.build.interactionTimeout * 50L
39-
) { info("${it::class.simpleName} at ${it.context.expectedPos.toShortString()} timed out") }
39+
) { info("${it::class.simpleName} at ${it.expectedPos.toShortString()} timed out") }
4040

4141
init {
4242
listen<TickEvent.Pre>(Int.MIN_VALUE) {

0 commit comments

Comments
 (0)