aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-14 23:50:15 +0200
committerGitHub <noreply@github.com>2024-05-14 23:50:15 +0200
commitf670fb96f9709f5249c1606ca77fcdf816c71058 (patch)
treeb71a47b806c043aa3ba604b1001b1aa98d449348 /src/main
parente101b11cb4117d51c14c051689d380a815a5185b (diff)
downloadskyhanni-f670fb96f9709f5249c1606ca77fcdf816c71058.tar.gz
skyhanni-f670fb96f9709f5249c1606ca77fcdf816c71058.tar.bz2
skyhanni-f670fb96f9709f5249c1606ca77fcdf816c71058.zip
Fix: Profit Tracker Enchanted Book (#1775)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt6
1 files changed, 5 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 989204c0a..fbe2b90ab 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
@@ -28,9 +28,13 @@ object UtilsPatterns {
".{2}Abiphone .*"
)
+ /**
+ * REGEX-TEST: §fEnchanted Book
+ * REGEX-TEST: §f§f§fEnchanted Book
+ */
val enchantedBookPattern by patternGroup.pattern(
"item.name.enchanted.book",
- ".{2}?Enchanted Book"
+ "(?:§.)+Enchanted Book"
)
val baitPattern by patternGroup.pattern(