From 115aeb025e25e06216ec42031abba0ee7c1a32b6 Mon Sep 17 00:00:00 2001 From: appable <16139460+appable0@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:20:19 -0700 Subject: Fix: Trevor Tracker without Trapper Solver feature enabled (#2116) --- .../at/hannibal2/skyhanni/features/misc/trevor/TrevorFeatures.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit