Skip to content

Commit 20840f0

Browse files
committed
Enable result rendering
1 parent b0ccf8e commit 20840f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class BuildTask @Ta5kBuilder constructor(
8989
init {
9090
listen<TickEvent.Pre> {
9191
currentInteraction?.let { context ->
92-
TaskFlowModule.drawables = listOf(context)
92+
// TaskFlowModule.drawables = listOf(context)
9393
if (context.shouldRotate(build) && !context.rotation.done) return@let
9494
if (context is PlaceContext && context.sneak && !player.isSneaking) return@let
9595
context.interact(interact.swingHand)
@@ -145,8 +145,8 @@ class BuildTask @Ta5kBuilder constructor(
145145
// ToDo: Simulate for each pair player positions that work
146146
val results = blueprint.simulate(player.eyePos, interact, rotation, inventory, build)
147147

148-
// TaskFlowModule.drawables = results.filterIsInstance<Drawable>()
149-
// .plus(pendingInteractions.toList())
148+
TaskFlowModule.drawables = results.filterIsInstance<Drawable>()
149+
.plus(pendingInteractions.toList())
150150
// .plus(sim.goodPositions())
151151

152152
if (build.breaksPerTick > 1) {

0 commit comments

Comments
 (0)