diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-19 21:20:23 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-19 21:20:23 +0200 |
commit | 494596e42ae3015b8f45951b8099acaf585b5219 (patch) | |
tree | 8e67da4feba8e3cf25d8f655058006a4d1059133 /src/main/java | |
parent | 9594c23b95f795b25adc8be415ed38f1f46634fb (diff) | |
parent | 93fd9ece889b68349bb3b2bdfc6943e5c356424d (diff) | |
download | skyhanni-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.kt | 2 |
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] ?: "" |