diff options
author | Empa <42304516+ItsEmpa@users.noreply.github.com> | 2024-04-15 20:19:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 20:19:42 +0200 |
commit | 36ed19738ead00d673a4b46c584329a2f4eb122d (patch) | |
tree | 939a126fbad56b891a41fb8365a19f12ecf278dc /src/main/java | |
parent | 95632704c8a90569578a92ed01e98644e4a9b97e (diff) | |
download | skyhanni-36ed19738ead00d673a4b46c584329a2f4eb122d.tar.gz skyhanni-36ed19738ead00d673a4b46c584329a2f4eb122d.tar.bz2 skyhanni-36ed19738ead00d673a4b46c584329a2f4eb122d.zip |
Improvement: Farming Fortune Display (#1451)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt index cf826429d..3f81d5732 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt @@ -218,7 +218,7 @@ object FarmingFortuneDisplay { lastUniversalFortuneMissingError = SimpleTimeMark.now() } if (firstBrokenCropTime.passedSince() > 10.seconds && !foundTabCropFortune && !firstBrokenCropTime.isFarPast()) { - if (lastCropFortuneMissingError.passedSince() < 1.minutes) return + if (lastCropFortuneMissingError.passedSince() < 1.minutes || !GardenAPI.isCurrentlyFarming()) return ChatUtils.clickableChat( "§cCan not read Crop Fortune from tab list! Open /widget and enable the Stats Widget " + "and showing latest Crop Fortune.", |