From 2b5d4e8af999fe7e917b4e357411cf4e921bea39 Mon Sep 17 00:00:00 2001 From: Empa <42304516+ItsEmpa@users.noreply.github.com> Date: Fri, 5 Apr 2024 13:34:08 +0200 Subject: fixed message formatting and one message being sent once per tick (oops) (#1364) --- .../at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden') 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 23e9b8a5e..3df7a8bbf 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/FarmingFortuneDisplay.kt @@ -211,7 +211,7 @@ object FarmingFortuneDisplay { if (gardenJoinTime.passedSince() > 5.seconds && !foundTabUniversalFortune && !gardenJoinTime.isFarPast()) { if (lastUniversalFortuneMissingError.passedSince() < 1.minutes) return ChatUtils.clickableChat( - "§cCan not read Farming Fortune from tab list! Open /widget and enable the Stats Widget" + + "§cCan not read Farming Fortune from tab list! Open /widget and enable the Stats Widget " + "and showing the Farming Fortune stat.", command = "widget" ) @@ -220,10 +220,11 @@ object FarmingFortuneDisplay { if (firstBrokenCropTime.passedSince() > 10.seconds && !foundTabCropFortune && !firstBrokenCropTime.isFarPast()) { if (lastCropFortuneMissingError.passedSince() < 1.minutes) return ChatUtils.clickableChat( - "§cCan not read Crop Fortune from tab list! Open /widget and enable the Stats Widget" + + "§cCan not read Crop Fortune from tab list! Open /widget and enable the Stats Widget " + "and showing latest Crop Fortune.", command = "widget" ) + lastCropFortuneMissingError = SimpleTimeMark.now() } } -- cgit