aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorObsidian <108832807+Obsidianninja11@users.noreply.github.com>2024-04-10 00:51:20 -0800
committerGitHub <noreply@github.com>2024-04-10 10:51:20 +0200
commitf541212f286940b7260df85ab419a02228daf1ea (patch)
treeaba4f1dac12cd0b1993800dc05cecda4d42277a5 /src/main/java/at/hannibal2/skyhanni/utils
parent8e4a4a156b659fcbb26dfec8ff619777771d0c59 (diff)
downloadskyhanni-f541212f286940b7260df85ab419a02228daf1ea.tar.gz
skyhanni-f541212f286940b7260df85ab419a02228daf1ea.tar.bz2
skyhanni-f541212f286940b7260df85ab419a02228daf1ea.zip
Improvement: Better Visitor Reward Warning (#1417)
* Price per copper based visitor blocking + improvements * Fixed merge conflicts + minor bug * Fixed merge conflicts + Fixed Accept offer title not rendering in tooltip * Messed something up during merge conflicts. fixed now * fixing merge conflicts * Code cleanup + more features + fixes * Code cleanup + improvements * optimized imports * Cache tooltip * Use GuiContainerEvent.SlotClickEvent * Lots of code cleanup + merge conflicts + fixes * fix * fix merge conflicts --------- Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-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 b6781bde0..97a4ab51c 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
@@ -49,7 +49,7 @@ object UtilsPatterns {
)
val readAmountBeforePattern by patternGroup.pattern(
"item.amount.front",
- "(?: *§8(\\+§\\w)?(?<amount>[\\d.km,]+)(x )?)?(?<name>.*)"
+ "(?: +§8(?:\\+§.)?(?<amount>[\\d.,]+[km]?)x? )?(?<name>.*)"
)
val readAmountAfterPattern by patternGroup.pattern(
"item.amount.behind",