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/visitor/GardenVisitorTimer.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
index f7bed5ef6..b1a8697e5 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt
@@ -129,9 +129,11 @@ class GardenVisitorTimer {
if (isSixthVisitorEnabled() && millis.isNegative()) {
visitorsAmount++
if (!sixthVisitorReady) {
- LorenzUtils.sendTitle("§a6th Visitor Ready", 5.seconds)
sixthVisitorReady = true
- if (isSixthVisitorWarningEnabled()) SoundUtils.playBeepSound()
+ if (isSixthVisitorWarningEnabled()) {
+ LorenzUtils.sendTitle("§a6th Visitor Ready", 5.seconds)
+ SoundUtils.playBeepSound()
+ }
}
}
}