aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorappable <16139460+appable0@users.noreply.github.com>2024-06-20 14:20:19 -0700
committerGitHub <noreply@github.com>2024-06-20 23:20:19 +0200
commit115aeb025e25e06216ec42031abba0ee7c1a32b6 (patch)
tree8d279b861dfe923ef870be8ca53db7ed6b12ce34 /src/main/java/at/hannibal2/skyhanni
parentb4b0bf1e83a1f07927478ed7c8dcff10bdfa855e (diff)
downloadskyhanni-115aeb025e25e06216ec42031abba0ee7c1a32b6.tar.gz
skyhanni-115aeb025e25e06216ec42031abba0ee7c1a32b6.tar.bz2
skyhanni-115aeb025e25e06216ec42031abba0ee7c1a32b6.zip
Fix: Trevor Tracker without Trapper Solver feature enabled (#2116)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
index 652ce2693..65d4219f2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt
@@ -111,11 +111,12 @@ object TrevorFeatures {
@SubscribeEvent
fun onSecondPassed(event: SecondPassedEvent) {
if (!onFarmingIsland()) return
- if (!config.trapperSolver) return
updateTrapper()
TrevorTracker.update()
TrevorTracker.calculatePeltsPerHour()
- if (questActive) TrevorSolver.findMob()
+ if (config.trapperSolver && questActive) {
+ TrevorSolver.findMob()
+ }
}
@SubscribeEvent