diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-05 13:25:28 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-07-05 13:25:28 +0200 |
commit | c04b2a1edbbf82a56ae667298f72074847c879a3 (patch) | |
tree | 8f7a6496b1a240cdad331cade06482bd74783464 | |
parent | c2148dc9c57f4be833dfd8071290471a69da205f (diff) | |
download | skyhanni-c04b2a1edbbf82a56ae667298f72074847c879a3.tar.gz skyhanni-c04b2a1edbbf82a56ae667298f72074847c879a3.tar.bz2 skyhanni-c04b2a1edbbf82a56ae667298f72074847c879a3.zip |
code cleanup
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt b/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt index dc9f808d7..b33f6bc99 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt @@ -11,7 +11,7 @@ import net.minecraftforge.client.event.RenderWorldLastEvent import java.awt.Color import kotlin.time.Duration.Companion.seconds -class ParkourHelper(val locations: List<LorenzVec>, val shortCuts: List<ParkourJson.ShortCut>) { +class ParkourHelper(val locations: List<LorenzVec>, private val shortCuts: List<ParkourJson.ShortCut>) { private var current = -1 private var visible = false @@ -19,7 +19,6 @@ class ParkourHelper(val locations: List<LorenzVec>, val shortCuts: List<ParkourJ var monochromeColor: Color = Color.WHITE var lookAhead = 2 - fun inParkour() = current != -1 fun reset() { |