diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-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 f26f3bcab..9cf02c07d 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 @@ -185,7 +185,7 @@ enum class DiscordStatus(private val displayMessageSupplier: Supplier<String>?) ProfileStorageData.profileSpecific?.currentPet?.let { val colorCode = it.substring(1..2).first() val petName = it.substring(2) - val petLevel = getCurrentPet().petLevel.currentLevel + val petLevel = getCurrentPet()?.petLevel?.currentLevel ?: "?" "[Lvl $petLevel] ${colorCodeToRarity(colorCode)} $petName" } ?: "No pet equipped" |