aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/GardenCropMilestoneDisplay.kt5
1 files changed, 3 insertions, 2 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 b8512fe4b..2adc340c0 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
@@ -37,7 +37,6 @@ class GardenCropMilestoneDisplay {
private val bestCropTime = GardenBestCropTime()
private var lastPlaySoundTime = 0L
-
private var needsInventory = false
companion object {
@@ -303,7 +302,9 @@ class GardenCropMilestoneDisplay {
lastPlaySoundTime = System.currentTimeMillis()
SoundUtils.playBeepSound()
}
- TitleUtils.sendTitle("§b${crop.cropName} $nextTier in $duration", 1_500)
+ if (!needsInventory) {
+ TitleUtils.sendTitle("§b${crop.cropName} $nextTier in $duration", 1_500)
+ }
}
}
lineMap[3] = Collections.singletonList("§7In §b$duration")