aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt b/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt
index 6013dec6f..3fe7f6973 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ParkourHelper.kt
@@ -86,8 +86,7 @@ class ParkourHelper(
next.value.offsetCenter(),
colorForIndex(prev.index),
5,
- false,
- colorForIndex(next.index)
+ false
)
}
val nextShortcuts = current until current + lookAhead
@@ -114,7 +113,7 @@ class ParkourHelper(
val aabb = axisAlignedBB(location).expandBlock()
event.drawFilledBoundingBox_nea(aabb, colorForIndex(index), .6f)
} else {
- val aabb = axisAlignedBB(location)
+ val aabb = axisAlignedBB(location)
event.drawFilledBoundingBox_nea(aabb, colorForIndex(index), 1f)
if (outline) event.outlineTopFace(aabb, 2, Color.BLACK, true)
}