aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-16 19:08:25 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-16 19:08:25 +0200
commitbe99826efa13edbff6f04ed6c1eb254d12316a71 (patch)
tree19f3a790cb7089b327ab2a462192847b0ebe595d /src/main/java/at/hannibal2/skyhanni/features
parent89cc688e13757ad14b8df342108081b7f1d2acc6 (diff)
downloadskyhanni-be99826efa13edbff6f04ed6c1eb254d12316a71.tar.gz
skyhanni-be99826efa13edbff6f04ed6c1eb254d12316a71.tar.bz2
skyhanni-be99826efa13edbff6f04ed6c1eb254d12316a71.zip
added todo
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt
index 25199518b..6c7f6fa82 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/CustomScoreboardUtils.kt
@@ -33,6 +33,7 @@ object CustomScoreboardUtils {
else -> "§e"
}
+ // TODO change to a non extended function
internal fun Number.formatNum(): String = when (displayConfig.numberFormat) {
DisplayConfig.NumberFormat.SHORT -> this.shortFormat()
DisplayConfig.NumberFormat.LONG -> this.addSeparators()