From 7436a30dc1b4af396980dc7d3e721fbbbab023f3 Mon Sep 17 00:00:00 2001 From: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> Date: Sat, 21 Dec 2024 20:02:06 +0100 Subject: [PATCH] actually use it oops Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com> --- .../gui/customscoreboard/CustomScoreboardUtils.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 73e7ce9e44e4..9506f9a40832 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 @@ -29,10 +29,10 @@ object CustomScoreboardUtils { number } return when (displayConfig.numberDisplayFormat) { - ScoreboardNumberDisplayFormat.TEXT_COLOR_NUMBER -> "§f$text: $color$number" - ScoreboardNumberDisplayFormat.COLOR_TEXT_NUMBER -> "$color$text: $number" - ScoreboardNumberDisplayFormat.COLOR_NUMBER_TEXT -> "$color$number $color$text" - ScoreboardNumberDisplayFormat.COLOR_NUMBER_RESET_TEXT -> "$color$number §f$text" + ScoreboardNumberDisplayFormat.TEXT_COLOR_NUMBER -> "§f$text: $color$formattedNumber" + ScoreboardNumberDisplayFormat.COLOR_TEXT_NUMBER -> "$color$text: $formattedNumber" + ScoreboardNumberDisplayFormat.COLOR_NUMBER_TEXT -> "$color$formattedNumber $color$text" + ScoreboardNumberDisplayFormat.COLOR_NUMBER_RESET_TEXT -> "$color$formattedNumber §f$text" } }