Skip to content

Commit ee5a026

Browse files
committed
compile fixes
1 parent 282f90f commit ee5a026

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/kotlin/com/lambda/gui/dsl/ImGuiBuilder.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ import imgui.ImGui.isMouseClicked
129129
import imgui.ImGui.isWindowAppearing
130130
import imgui.ImGui.isWindowCollapsed
131131
import imgui.ImGui.isWindowHovered
132+
import imgui.ImGui.plotHistogram
132133
import imgui.ImGui.popFont
133134
import imgui.ImGui.popID
134135
import imgui.ImGui.popItemWidth
@@ -178,6 +179,7 @@ import net.minecraft.util.math.Vec3d
178179
import net.minecraft.util.math.Vec3i
179180
import java.awt.Color
180181
import kotlin.reflect.KMutableProperty0
182+
import imgui.ImGui.plotLines
181183

182184
typealias ProcedureBlock = ImGuiBuilder.() -> Unit
183185
typealias WrappedBlock<In, Out> = ImGuiBuilder.(In) -> Out

src/main/kotlin/com/lambda/interaction/request/breaking/BreakManager.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ object BreakManager : RequestHandler<BreakRequest>(
101101
TickEvent.Input.Post,
102102
TickEvent.Player.Post,
103103
onOpen = {
104-
if (activeInfos.isNotEmpty() || breaks.isNotEmpty() || instantBreaks.isNotEmpty())
104+
if (activeInfos.isNotEmpty() || breaks.isNotEmpty())
105105
BreakManager.logger.newStage(BreakManager.tickStage)
106106
processRequest(activeRequest)
107107
simulateAbandoned()
@@ -172,7 +172,7 @@ object BreakManager : RequestHandler<BreakRequest>(
172172
super.load()
173173

174174
listen<TickEvent.Pre>(priority = Int.MAX_VALUE) {
175-
if (activeInfos.isEmpty() && breaks.isEmpty() && instantBreaks.isEmpty()) return@listen
175+
if (activeInfos.isEmpty() && breaks.isEmpty()) return@listen
176176
logger.newTick()
177177
}
178178

0 commit comments

Comments
 (0)