diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-19 20:51:35 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-02-19 20:51:35 +0100 |
commit | eb961f2921291b13e533facd4faf5218ac631bab (patch) | |
tree | acc4c29e5bd24bb2e474e852d44ff0ce3c94077d /src/main/java | |
parent | ac6f7f65e4ddcc2c6e0c24020629593089e0d379 (diff) | |
download | skyhanni-eb961f2921291b13e533facd4faf5218ac631bab.tar.gz skyhanni-eb961f2921291b13e533facd4faf5218ac631bab.tar.bz2 skyhanni-eb961f2921291b13e533facd4faf5218ac631bab.zip |
improved readability
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/fishing/tracker/FishingProfitTracker.kt | 6 |
1 files changed, 2 insertions, 4 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 7cab35c6b..9d901f08a 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 @@ -180,11 +180,9 @@ object FishingProfitTracker { if (!isEnabled()) return val recentPickup = config.showWhenPickup && lastCatchTime.passedSince() < 3.seconds - if (!recentPickup) { - if (!FishingAPI.isFishing()) return + if (recentPickup || FishingAPI.isFishing()) { + tracker.renderDisplay(config.position) } - - tracker.renderDisplay(config.position) } @SubscribeEvent |