From 5ec733e35b7602e2f9f530c4c6207fe3858e2793 Mon Sep 17 00:00:00 2001
From: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Date: Thu, 23 Mar 2023 16:05:17 +0100
Subject: Fixed bug

---
 .../java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')

diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt
index 8771aaf52..c682650bd 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt
@@ -57,14 +57,16 @@ class CropMoneyDisplay {
 
     private fun drawDisplay(): MutableList<List<Any>> {
         val newDisplay = mutableListOf<List<Any>>()
-        newDisplay.add(Collections.singletonList("§7Money per hour when selling:"))
         if (!ready) {
+            newDisplay.add(Collections.singletonList("§7Money per hour when selling:"))
             newDisplay.add(Collections.singletonList("§eLoading..."))
             return newDisplay
         }
 
         if (!hasCropInHand && !config.moneyPerHourAlwaysOn) return newDisplay
 
+        newDisplay.add(Collections.singletonList("§7Money per hour when selling:"))
+
         val moneyPerHourData = calculateMoneyPerHour()
         if (moneyPerHourData.isEmpty()) {
             if (!GardenAPI.isSpeedDataEmpty()) {
-- 
cgit