diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/CropMoneyDisplay.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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()) { |