From 9878714850a75cf0b2b6cf1ec5f3a8d13a740543 Mon Sep 17 00:00:00 2001 From: Brandon Date: Wed, 15 Nov 2023 05:44:08 -0400 Subject: Fix new visitor alerts triggering constantly (#704) Fixed new visitor alerts triggering wrongly and constantly. #704 --- .../at/hannibal2/skyhanni/features/garden/visitor/VisitorListener.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorListener.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorListener.kt index 85aef6868..a1e7473a7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorListener.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorListener.kt @@ -75,7 +75,7 @@ class VisitorListener { } if (!found) continue - if (line.isEmpty()) { + if (line.isEmpty() || line.contains("Account Info")) { found = false continue } -- cgit