Skip to content

Commit b136579

Browse files
committed
fix: build task crash if pending placements = 1
1 parent 2bc6ef4 commit b136579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class BuildTask @Ta5kBuilder constructor(
8888

8989
// ToDo: Simulate for each pair player positions that work
9090
val results = blueprint.simulate(player.getCameraPosVec(mc.tickDelta))
91-
TaskFlowModule.drawables = results.filterIsInstance<Drawable>().plus(pendingPlacements.toList())
91+
TaskFlowModule.drawables = results.filterIsInstance<Drawable>().plus(pendingPlacements)
9292

9393
val instantResults = results.filterIsInstance<BreakResult.Break>()
9494
.filter { it.context.instantBreak }

0 commit comments

Comments
 (0)