aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorLuna <luna@alexia.lol>2024-06-08 19:41:21 +0200
committerGitHub <noreply@github.com>2024-06-08 19:41:21 +0200
commit5bb98aed61e4dadba12d203aad770d0408171ef3 (patch)
treeacacb4490a48b43703d9d8fd429408971fdb2fab /src/main/java/at/hannibal2/skyhanni/features
parenta2f29b2bfe846c9d0cd2a45b2b8352bab556da37 (diff)
downloadskyhanni-5bb98aed61e4dadba12d203aad770d0408171ef3.tar.gz
skyhanni-5bb98aed61e4dadba12d203aad770d0408171ef3.tar.bz2
skyhanni-5bb98aed61e4dadba12d203aad770d0408171ef3.zip
Improvement: Auto-detect whether Great Explorer is maxed (#2032)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
index 180989fc4..a936f9636 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/powdertracker/PowderTracker.kt
@@ -4,6 +4,7 @@ import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.ConfigUpdaterMigrator
import at.hannibal2.skyhanni.config.features.mining.PowderTrackerConfig.PowderDisplayEntry
import at.hannibal2.skyhanni.data.BossbarData
+import at.hannibal2.skyhanni.data.HotmData
import at.hannibal2.skyhanni.data.IslandType
import at.hannibal2.skyhanni.events.ConfigLoadEvent
import at.hannibal2.skyhanni.events.GuiRenderEvent
@@ -131,7 +132,7 @@ object PowderTracker {
if (!isEnabled()) return
val msg = event.message
- if (config.greatExplorerMaxed) {
+ if (HotmData.GREAT_EXPLORER.let { it.enabled && it.isMaxLevel }) {
uncoveredPattern.matchMatcher(msg) {
tracker.modify {
it.totalChestPicked += 1