From 76a187a77e62a145d2b6864a64ba878ed4aa0466 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 4 Dec 2023 04:36:39 +0100 Subject: Removed unnecessary capturing group. Co-authored-by: Walker Selby --- src/main/java/at/hannibal2/skyhanni/api/CollectionAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2') 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(?.*)§6\\/(?:.*)".toPattern() + private val counterPattern = ".* §e(?.*)§6/.*".toPattern() private val singleCounterPattern = "§7Total Collected: §e(?.*)".toPattern() @SubscribeEvent -- cgit