diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt index d4aa147e8..61b22a7d7 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt @@ -32,7 +32,7 @@ object PetAPI { // Contains color code + name and for older SkyHanni users maybe also the pet level var currentPet: String? - get() = ProfileStorageData.profileSpecific?.currentPet + get() = ProfileStorageData.profileSpecific?.currentPet?.takeIf { it.isNotEmpty() } set(value) { ProfileStorageData.profileSpecific?.currentPet = value } |