diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-28 21:32:52 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-28 21:32:52 +0100 |
commit | c923b05837cd26f6aaedd4d04b7d9b5cab4462c8 (patch) | |
tree | e263b40c43367b2e3ad79d1d1b6fd4e8ff5b8886 /src/main | |
parent | 390c447930c0115b149d56d2f5f1c12b0db95c5b (diff) | |
download | skyhanni-c923b05837cd26f6aaedd4d04b7d9b5cab4462c8.tar.gz skyhanni-c923b05837cd26f6aaedd4d04b7d9b5cab4462c8.tar.bz2 skyhanni-c923b05837cd26f6aaedd4d04b7d9b5cab4462c8.zip |
Fixed pest detection when more than 3 pests are spawned at once.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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(?<pests>.*)".toPattern() + private val pestsInScoreboardPattern = " §7⏣ §[ac]The Garden §4§lൠ§7 x(?<pests>.*)".toPattern() private var display = emptyList<Renderable>() private var scoreboardPests = 0 |