diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 22:56:15 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 22:56:15 +0200 |
commit | aca189fe13935e641c0cac3b91693c6c3fcf91c7 (patch) | |
tree | 93142bc4d2a654e452be6d598bf41ba27e2d3ac5 /src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt | |
parent | 746351e19048c2e33dd6c71b5cf5b7d82f648690 (diff) | |
download | skyhanni-aca189fe13935e641c0cac3b91693c6c3fcf91c7.tar.gz skyhanni-aca189fe13935e641c0cac3b91693c6c3fcf91c7.tar.bz2 skyhanni-aca189fe13935e641c0cac3b91693c6c3fcf91c7.zip |
fixed globalRender description and replaced RenderWorldLastEvent with LorenzRenderWorldEvent
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt b/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt index 65e2e6275..2574256cc 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.test import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.events.LorenzKeyPressEvent +import at.hannibal2.skyhanni.events.LorenzRenderWorldEvent import at.hannibal2.skyhanni.utils.LorenzColor import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzVec @@ -12,7 +13,6 @@ import at.hannibal2.skyhanni.utils.RenderUtils.drawFilledBoundingBox_nea import at.hannibal2.skyhanni.utils.RenderUtils.expandBlock import at.hannibal2.skyhanni.utils.SimpleTimeMark import net.minecraft.client.Minecraft -import net.minecraftforge.client.event.RenderWorldLastEvent import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import kotlin.time.Duration.Companion.milliseconds @@ -65,7 +65,7 @@ class ParkourWaypointSaver { } @SubscribeEvent - fun onRenderWorld(event: RenderWorldLastEvent) { + fun onRenderWorld(event: LorenzRenderWorldEvent) { if (!LorenzUtils.inSkyBlock) return if (locations.size > 1) { |