aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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