From c923b05837cd26f6aaedd4d04b7d9b5cab4462c8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Tue, 28 Nov 2023 21:32:52 +0100 Subject: Fixed pest detection when more than 3 pests are spawned at once. --- src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt index 7f38d6017..00fd0775e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt @@ -36,7 +36,7 @@ class PestFinder { private val config get() = PestAPI.config.pestFinder - private val pestsInScoreboardPattern = " §7⏣ §aThe Garden §4§lൠ§7 x(?.*)".toPattern() + private val pestsInScoreboardPattern = " §7⏣ §[ac]The Garden §4§lൠ§7 x(?.*)".toPattern() private var display = emptyList() private var scoreboardPests = 0 -- cgit