aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/test
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-15 23:08:36 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-09-15 23:08:36 +0200
commit9b08ac8a353963e802ff964170420a867960f5b5 (patch)
treec05cccfea0938f898fc57df8fb2abd58ad80e2f5 /src/main/java/at/hannibal2/skyhanni/test
parent3e390a65bb8e81e8d226aea9e2d867ab8c1b4210 (diff)
downloadskyhanni-9b08ac8a353963e802ff964170420a867960f5b5.tar.gz
skyhanni-9b08ac8a353963e802ff964170420a867960f5b5.tar.bz2
skyhanni-9b08ac8a353963e802ff964170420a867960f5b5.zip
fixed dungeon highlight clicked blocks
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt
index 4fcc433ed..e39b62d28 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/LorenzTest.kt
@@ -62,6 +62,15 @@ class LorenzTest {
shouldLogPackets = !shouldLogPackets
println("shouldLogPackets: $shouldLogPackets")
}
+
+ var highestStep = 0
+
+ fun highStep(step: Int) {
+ if (step > highestStep) {
+ highestStep = step
+ text = "" + highestStep
+ }
+ }
}
@SubscribeEvent
@@ -75,6 +84,7 @@ class LorenzTest {
@SubscribeEvent
fun renderOverlay(event: RenderGameOverlayEvent.Post) {
+ if (!LorenzUtils.inSkyblock) return
if (!SkyHanniMod.feature.dev.debugEnabled) return
SkyHanniMod.feature.dev.debugPos.renderString(text)