diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 16:05:17 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-23 16:05:17 +0100 |
commit | 5ec733e35b7602e2f9f530c4c6207fe3858e2793 (patch) | |
tree | eaf0c34abff81bcfe2bdbf366f762eb7ee35fa63 /src/main/java/at/hannibal2/skyhanni/features/garden | |
parent | aa332f61bac03a13c9bf9a81fb2d3eb896f4c327 (diff) | |
download | skyhanni-5ec733e35b7602e2f9f530c4c6207fe3858e2793.tar.gz skyhanni-5ec733e35b7602e2f9f530c4c6207fe3858e2793.tar.bz2 skyhanni-5ec733e35b7602e2f9f530c4c6207fe3858e2793.zip |
Fixed bug
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-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()) { |