aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-05 13:25:28 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-07-05 13:25:28 +0200
commitc04b2a1edbbf82a56ae667298f72074847c879a3 (patch)
tree8f7a6496b1a240cdad331cade06482bd74783464 /src/main/java/at
parentc2148dc9c57f4be833dfd8071290471a69da205f (diff)
downloadskyhanni-c04b2a1edbbf82a56ae667298f72074847c879a3.tar.gz
skyhanni-c04b2a1edbbf82a56ae667298f72074847c879a3.tar.bz2
skyhanni-c04b2a1edbbf82a56ae667298f72074847c879a3.zip
code cleanup
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt3
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() {