From 0ba2b871d08b456775c372b45216c3cffa008ce8 Mon Sep 17 00:00:00 2001 From: martimcavaco Date: Fri, 26 Jan 2024 00:59:33 +0000 Subject: add !kuudra checks --- .../hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt | 2 +- .../hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt index ca6ef6f3d..5a92ae51a 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt @@ -211,5 +211,5 @@ object FishingProfitTracker { tracker.resetCommand(args, "shresetfishingtracker") } - fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled + fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled && !LorenzUtils.inKuudraFight } diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt index eb0fe4a51..8bfcadde7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/SeaCreatureTracker.kt @@ -165,7 +165,7 @@ object SeaCreatureTracker { tracker.resetCommand(args, "shresetseacreaturetracker") } - private fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled && !isTrophyFishing + private fun isEnabled() = LorenzUtils.inSkyBlock && config.enabled && !isTrophyFishing && !LorenzUtils.inKuudraFight private fun isWearingTrophyArmor(): Boolean = InventoryUtils.getArmor().all { trophyArmorNames.matches(it?.getInternalName()?.asString()) -- cgit