diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-22 11:50:53 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-22 11:50:53 +0100 |
commit | 522e516d4edf0c2f5f96883ba223ea625a0befa7 (patch) | |
tree | 4eae70958ffda5f9fc69c54f9c7079c648b1d8a7 /src/main/java | |
parent | 97db59ea2efe455a2fd1f98fecdcbce8a7555ba7 (diff) | |
download | skyhanni-522e516d4edf0c2f5f96883ba223ea625a0befa7.tar.gz skyhanni-522e516d4edf0c2f5f96883ba223ea625a0befa7.tar.bz2 skyhanni-522e516d4edf0c2f5f96883ba223ea625a0befa7.zip |
Hide in crop milestone display the line with time remaining entirely when the milestone is maxed.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt index 2a8355eab..76647517d 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt @@ -171,9 +171,7 @@ object GardenCropMilestoneDisplay { if (farmingFortuneSpeed > 0) { crop.setSpeed(farmingFortuneSpeed) - if (crop.isMaxed()) { - lineMap[3] = listOf("§7In §bMaxed") - } else { + if (!crop.isMaxed()) { val missing = need - have val missingTimeSeconds = missing / farmingFortuneSpeed val millis = missingTimeSeconds * 1000 |