From 09e6eaecfb6c924e0bd1f13d66f7faf2f190e2c8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 15 Mar 2023 15:02:28 +0100 Subject: Hide garden visitor timer display when the visitors are not unlocked yet (during early tutorial phases) --- .../java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt index b3f67f956..d5ebdce68 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt @@ -29,6 +29,9 @@ class GardenVisitorTimer { millis = TimeUtils.getMillis(rawTime) } else if (line == " Next Visitor: §r§c§lQueue Full!") { queueFull = true + } else if (line == " Next Visitor: §r§cNot Unlocked!") { + render = "" + return } matcher = patternVisitors.matcher(line) -- cgit