aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ10a1n15 <45315647+j10a1n15@users.noreply.github.com>2024-10-26 22:56:43 +0200
committerGitHub <noreply@github.com>2024-10-27 07:56:43 +1100
commitd030f24e0a721a50d22d494c46b1a5d273ffce65 (patch)
treee25f5158e060d01e755ea94981b09ed417a47732
parentb87483b531cbbd295ab335531dfa5ac6a4697f8e (diff)
downloadSkyHanni-d030f24e0a721a50d22d494c46b1a5d273ffce65.tar.gz
SkyHanni-d030f24e0a721a50d22d494c46b1a5d273ffce65.tar.bz2
SkyHanni-d030f24e0a721a50d22d494c46b1a5d273ffce65.zip
Fix: "null" in Custom Scoreboard LobbyCode (#2832)
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementLobbyCode.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementLobbyCode.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementLobbyCode.kt
index f4f64ed17..fcb07f2a3 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementLobbyCode.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/elements/ScoreboardElementLobbyCode.kt
@@ -13,8 +13,8 @@ object ScoreboardElementLobbyCode : ScoreboardElement() {
override fun getDisplay() = buildString {
if (CustomScoreboard.displayConfig.dateInLobbyCode) append("§7${LocalDate.now().format(formatter)} ")
- append(HypixelData.serverId?.let { "§8$it" })
- append(DungeonAPI.getRoomID()?.let { " §8$it" })
+ HypixelData.serverId?.let { append("§8$it") }
+ DungeonAPI.getRoomID()?.let { append(" §8$it") }
}
override val configLine = "§710/23/2024 §8mega77CK"