aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorTimer.kt4
1 files changed, 4 insertions, 0 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 0c8abbec0..21db46b4b 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
@@ -98,6 +98,10 @@ class GardenVisitorTimer {
loop@ for (line in TabListData.getTabList()) {
timePattern.matchMatcher(line) {
val timeInfo = group("info").removeColor()
+ if (timeInfo == "Not Unlocked!") {
+ display = "§cVisitors not unlocked!"
+ return
+ }
if (timeInfo == "Queue Full!") {
queueFull = true
break@loop