diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-01 10:51:10 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-01 10:51:10 +0200 |
commit | 63e46cf67a44e965c87e597f7be16989bc1d80b6 (patch) | |
tree | 7d329a23e5768e04d78726024dd3206eddf7796c /src/main/java/at/hannibal2/skyhanni/features/event | |
parent | bf3774251441a2e31b9a49df5b3a8e8c6388b413 (diff) | |
download | skyhanni-63e46cf67a44e965c87e597f7be16989bc1d80b6.tar.gz skyhanni-63e46cf67a44e965c87e597f7be16989bc1d80b6.tar.bz2 skyhanni-63e46cf67a44e965c87e597f7be16989bc1d80b6.zip |
Fixed Diana's Griffin Pet Warning not working during the Jerry Mayor.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/DianaAPI.kt | 3 |
1 files changed, 2 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 ce3d8ba46..950f15f2b 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 @@ -7,7 +7,8 @@ import at.hannibal2.skyhanni.utils.InventoryUtils object DianaAPI { fun hasSpadeInHand() = InventoryUtils.itemInHandId.equals("ANCESTRAL_SPADE") - fun isRitualActive() = MayorElection.isPerkActive("Diana", "Mythological Ritual") + fun isRitualActive() = MayorElection.isPerkActive("Diana", "Mythological Ritual") || + MayorElection.isPerkActive("Jerry", "Perkpocalypse") fun hasGriffinPet() = ProfileStorageData.profileSpecific?.currentPet?.contains("Griffin") ?: false }
\ No newline at end of file |