diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-26 12:32:51 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-26 12:32:51 +0200 |
commit | effd69e9f113c808dae5e51e2b55574886d0e230 (patch) | |
tree | 11cc6b5241a1937b2f76729468fec4e80d2b0552 /src/main/java/at/hannibal2/skyhanni/test | |
parent | 7fc421dc3e81d0cf60387516c74768db2bde9658 (diff) | |
download | skyhanni-effd69e9f113c808dae5e51e2b55574886d0e230.tar.gz skyhanni-effd69e9f113c808dae5e51e2b55574886d0e230.tar.bz2 skyhanni-effd69e9f113c808dae5e51e2b55574886d0e230.zip |
ugly workaround: duplicating the methods drawFilledBoundingBox draw3DLine with a variant before nea made the parkour changes
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-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 e7d229ca8..2fb009914 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/ParkourWaypointSaver.kt @@ -3,7 +3,7 @@ package at.hannibal2.skyhanni.test import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.events.LorenzTickEvent import at.hannibal2.skyhanni.utils.* -import at.hannibal2.skyhanni.utils.RenderUtils.drawFilledBoundingBox +import at.hannibal2.skyhanni.utils.RenderUtils.drawFilledBoundingBox_nea import at.hannibal2.skyhanni.utils.RenderUtils.expandBlock import net.minecraft.client.Minecraft import net.minecraft.client.gui.inventory.GuiChest @@ -74,7 +74,7 @@ class ParkourWaypointSaver { } else { for (location in locations) { val aabb = location.boundingToOffset(1.0, 1.0, 1.0).expandBlock() - event.drawFilledBoundingBox(aabb, LorenzColor.GREEN.toColor(), 1f) + event.drawFilledBoundingBox_nea(aabb, LorenzColor.GREEN.toColor(), 1f) } } } |