aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-04 04:36:39 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-04 04:36:39 +0100
commit76a187a77e62a145d2b6864a64ba878ed4aa0466 (patch)
tree8d6ac2e9f9ff1af6677b5c2f78eae26e8eb321d5
parentab74fb169d427b66c73da184ac5a07ec07b34e02 (diff)
downloadskyhanni-76a187a77e62a145d2b6864a64ba878ed4aa0466.tar.gz
skyhanni-76a187a77e62a145d2b6864a64ba878ed4aa0466.tar.bz2
skyhanni-76a187a77e62a145d2b6864a64ba878ed4aa0466.zip
Removed unnecessary capturing group.
Co-authored-by: Walker Selby <git@walkerselby.com>
-rw-r--r--src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
index ba9dc5327..3336fcae3 100644
--- a/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt
@@ -18,7 +18,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class CollectionAPI {
// TODO USE SH-REPO
- private val counterPattern = "(?:.*) §e(?<amount>.*)§6\\/(?:.*)".toPattern()
+ private val counterPattern = ".* §e(?<amount>.*)§6/.*".toPattern()
private val singleCounterPattern = "§7Total Collected: §e(?<amount>.*)".toPattern()
@SubscribeEvent