Skip to content

Commit 8cf31ae

Browse files
committed
Fix TaskFlow hud module name and baritone crash
1 parent 48b9ee3 commit 8cf31ae

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

common/src/main/kotlin/com/lambda/interaction/construction/result/BuildResult.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,12 +140,10 @@ abstract class BuildResult : ComparableResult<Rank>, Task<Unit>() {
140140
val hitPos: BlockPos,
141141
val side: Direction,
142142
val distance: Double
143-
) : Navigable, Drawable, BuildResult() {
143+
) : Drawable, BuildResult() {
144144
override val rank = Rank.NOT_VISIBLE
145145
private val color = Color(46, 0, 0, 80)
146146

147-
override val goal = GoalPlace(blockPos)
148-
149147
override fun SafeContext.buildRenderer() {
150148
withBox(Box(blockPos), color)
151149
}

common/src/main/kotlin/com/lambda/module/hud/TaskFlow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import com.lambda.module.tag.ModuleTag
55
import com.lambda.util.math.Vec2d
66

77
object TaskFlow : HudModule(
8-
name = "TaskFlow",
8+
name = "TaskFlowHud",
99
defaultTags = setOf(ModuleTag.CLIENT),
1010
) {
1111
override val width = 50.0

0 commit comments

Comments
 (0)