aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/misc
diff options
context:
space:
mode:
authorCalMWolfs <cwolfson58@gmail.com>2023-06-23 08:18:57 +1000
committerCalMWolfs <cwolfson58@gmail.com>2023-06-23 08:18:57 +1000
commit34e7fe2a360da747750b90c7f11a136e5513d1d8 (patch)
tree4a52a709a1397bb39072649ddfe80d3baebc8f37 /src/main/java/at/hannibal2/skyhanni/features/misc
parent617c4352fdb622b1b21769823c0af0235d539717 (diff)
parent72aad9e2b79fbe3ffdb4a0dc950ed5aebdf5166f (diff)
downloadskyhanni-34e7fe2a360da747750b90c7f11a136e5513d1d8.tar.gz
skyhanni-34e7fe2a360da747750b90c7f11a136e5513d1d8.tar.bz2
skyhanni-34e7fe2a360da747750b90c7f11a136e5513d1d8.zip
Merge remote-tracking branch 'origin/frozen_treasure_tracker' into frozen_treasure_tracker
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-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] ?: ""