aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
index 2800df6aa..bf5acd3f7 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardElements.kt
@@ -98,7 +98,7 @@ enum class ScoreboardElement(
COLD(
::getColdDisplayPair,
::getColdShowWhen,
- "Cold: §b❄ 0"
+ "Cold: §b0❄"
),
NORTH_STARS(
::getNorthStarsDisplayPair,
@@ -452,8 +452,8 @@ private fun getColdDisplayPair(): List<ScoreboardElementType> {
return listOf(
when {
informationFilteringConfig.hideEmptyLines && cold == "0" -> "<hidden>"
- displayConfig.displayNumbersFirst -> "§b❄ $cold Cold"
- else -> "Cold: §b❄ $cold"
+ displayConfig.displayNumbersFirst -> "§b$cold❄ Cold"
+ else -> "Cold: §b$cold❄"
} to HorizontalAlignment.LEFT
)
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
index 9627ed683..73e057db3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt
@@ -20,7 +20,7 @@ object ScoreboardPattern {
) // this line is weird (either text or number), ill leave it as is; it even has different colors?
val coldPattern by mainSb.pattern(
"cold",
- "^(?:§.)*Cold: §.❄ (?<cold>-?\\d+)$"
+ "^(?:§.)*Cold: §.(?<cold>-?\\d+)❄$"
)
val copperPattern by mainSb.pattern(
"copper",