summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-09 16:01:11 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-09 16:01:11 +0200
commitf6d917fce6ef289789c9e594dbb1b911f86ef8bd (patch)
tree03c98dd4fc032328b73280b93ec17bed85017808 /src/main/java/at/hannibal2/skyhanni/features/event
parent9cd32579cfec4fbfdd710442841c6e712a786c53 (diff)
downloadskyhanni-f6d917fce6ef289789c9e594dbb1b911f86ef8bd.tar.gz
skyhanni-f6d917fce6ef289789c9e594dbb1b911f86ef8bd.tar.bz2
skyhanni-f6d917fce6ef289789c9e594dbb1b911f86ef8bd.zip
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaAPI.kt
index 3fba348aa..ce3d8ba46 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaAPI.kt
@@ -9,5 +9,5 @@ object DianaAPI {
fun isRitualActive() = MayorElection.isPerkActive("Diana", "Mythological Ritual")
- fun hasGriffinPet() = ProfileStorageData.profileSpecific?.let { it.currentPet.contains("Griffin") } ?: false
+ fun hasGriffinPet() = ProfileStorageData.profileSpecific?.currentPet?.contains("Griffin") ?: false
} \ No newline at end of file