Skip to content

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
toxicity188 committed Sep 11, 2024
1 parent acdbcb0 commit 0953782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/src/main/kotlin/kr/toxicity/hud/compass/CircleCompass.kt
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,13 @@ class CircleCompass(
val world = hudPlayer.world()
for (i in 1..<length) {
comp += when (div - i + lengthDiv) {
(length * 0.5).roundToInt() -> images.se
(length * 0.5).roundToInt() -> images.sw
length * 1 -> images.w
(length * 1.5).roundToInt() -> images.nw
length * 2 -> images.n
(length * 2.5).roundToInt() -> images.ne
length * 3 -> images.e
(length * 3.5).roundToInt() -> images.sw
(length * 3.5).roundToInt() -> images.se
0, length * 4 -> images.s
else -> images.chain
}?.map?.get(CompassData(if (i > lengthDiv) length - i else i))?.let {
Expand Down

0 comments on commit 0953782

Please sign in to comment.