Skip to content

Commit f577f0d

Browse files
committed
small cleanup
1 parent 91f6a58 commit f577f0d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/src/main/kotlin/com/lambda/task/tasks/BuildTask.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ class BuildTask @Ta5kBuilder constructor(
105105

106106
init {
107107
listen<TickEvent.Pre> {
108-
val currentItemStack = player.mainHandStack ?: return@listen
109-
110108
currentInteraction?.let { context ->
111109
// TaskFlowModule.drawables = listOf(context)
112110
if (context.shouldRotate(build) && !context.rotation.done) return@let
@@ -222,7 +220,7 @@ class BuildTask @Ta5kBuilder constructor(
222220
val breakRequest = BreakRequest(
223221
bestResult.context,
224222
(resultsNotBlocked.getOrNull(1) as? BreakResult.Break)?.context,
225-
0
223+
prio = 0
226224
) { breaks++ }
227225
BreakManager.registerRequest(build.breakSettings, breakRequest)
228226
}

0 commit comments

Comments
 (0)