aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-04-17 16:04:47 +0200
committerGitHub <noreply@github.com>2024-04-17 16:04:47 +0200
commit6f07b2edb082bb8624b8208e3a9fbc0eca8e7343 (patch)
tree03434bf763f9578cc2430a9e05de79bd4cb5cfea /src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
parent12c00abefbc7b558b163b730bf56d0b9ff27de06 (diff)
downloadskyhanni-6f07b2edb082bb8624b8208e3a9fbc0eca8e7343.tar.gz
skyhanni-6f07b2edb082bb8624b8208e3a9fbc0eca8e7343.tar.bz2
skyhanni-6f07b2edb082bb8624b8208e3a9fbc0eca8e7343.zip
FIx: Pest Profit Tracker Items (#1388)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
index 7203fcf8b..18d450040 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
@@ -40,7 +40,7 @@ object UtilsPatterns {
val enchantmentNamePattern by patternGroup.pattern(
"item.neuitems.enchantmentname",
- "^(?<format>(?:§.)+)(?<name>[^§]+) (?<level>[IVXL]+)$"
+ "^(?<format>(?:§.)*)(?<name>[^§]+) (?<level>[IVXL]+)(?: Book)?$"
)
val potionPattern by patternGroup.pattern(