diff options
author | martimcavaco <martim.cavaco@tutanota.com> | 2024-01-26 00:59:33 +0000 |
---|---|---|
committer | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-01-28 18:27:31 +0100 |
commit | 0ba2b871d08b456775c372b45216c3cffa008ce8 (patch) | |
tree | 33c0a7b6a1e74c8b3e34d8e7f462b218626f6408 /src/main/java | |
parent | 4c95720f6058d2f5140f91b79d5c506cfe51a9c3 (diff) | |
download | skyhanni-0ba2b871d08b456775c372b45216c3cffa008ce8.tar.gz skyhanni-0ba2b871d08b456775c372b45216c3cffa008ce8.tar.bz2 skyhanni-0ba2b871d08b456775c372b45216c3cffa008ce8.zip |
add !kuudra checks
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt | 2 | ||||
-rw-r--r-- | src/main/java/at/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()) |