File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/main/kotlin/com/lambda
interaction/request/breaking Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ import imgui.ImGui.isMouseClicked
129129import imgui.ImGui.isWindowAppearing
130130import imgui.ImGui.isWindowCollapsed
131131import imgui.ImGui.isWindowHovered
132+ import imgui.ImGui.plotHistogram
132133import imgui.ImGui.popFont
133134import imgui.ImGui.popID
134135import imgui.ImGui.popItemWidth
@@ -178,6 +179,7 @@ import net.minecraft.util.math.Vec3d
178179import net.minecraft.util.math.Vec3i
179180import java.awt.Color
180181import kotlin.reflect.KMutableProperty0
182+ import imgui.ImGui.plotLines
181183
182184typealias ProcedureBlock = ImGuiBuilder .() -> Unit
183185typealias WrappedBlock <In , Out > = ImGuiBuilder .(In ) -> Out
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments