aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-19 21:20:23 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-19 21:20:23 +0200
commit494596e42ae3015b8f45951b8099acaf585b5219 (patch)
tree8e67da4feba8e3cf25d8f655058006a4d1059133 /src/main/java
parent9594c23b95f795b25adc8be415ed38f1f46634fb (diff)
parent93fd9ece889b68349bb3b2bdfc6943e5c356424d (diff)
downloadskyhanni-494596e42ae3015b8f45951b8099acaf585b5219.tar.gz
skyhanni-494596e42ae3015b8f45951b8099acaf585b5219.tar.bz2
skyhanni-494596e42ae3015b8f45951b8099acaf585b5219.zip
Merge remote-tracking branch 'origin/beta' into beta
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
index 20f203bb7..d114913bb 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/discordrpc/DiscordStatus.kt
@@ -108,7 +108,7 @@ enum class DiscordStatus(private val displayMessageSupplier: Supplier<String>?)
}
if (coins == "1") {
lastKnownDisplayStrings[PURSE] = "1 Coin"
- } else if (coins != "") {
+ } else if (coins != "" && coins != null) {
lastKnownDisplayStrings[PURSE] = "$coins Coins"
}
lastKnownDisplayStrings[PURSE] ?: ""