aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-07-28 17:40:04 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-07-28 17:40:04 +0200
commitbdb69aa9120a2da5b23fa5d91114f6d3dfce888f (patch)
tree208e08115bdadbfad5b2adffcfd028143a10cdd0
parente5c50a337a7064d8649e9749a9f0480d2044db67 (diff)
downloadskyhanni-bdb69aa9120a2da5b23fa5d91114f6d3dfce888f.tar.gz
skyhanni-bdb69aa9120a2da5b23fa5d91114f6d3dfce888f.tar.bz2
skyhanni-bdb69aa9120a2da5b23fa5d91114f6d3dfce888f.zip
added regex test
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/QuiverAPI.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/QuiverAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/QuiverAPI.kt
index 51240ecd3..88daf40b9 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/QuiverAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/QuiverAPI.kt
@@ -94,6 +94,10 @@ object QuiverAPI {
// Bows that don't use the players arrows, checked using the SkyBlock ID
private val fakeBowsPattern by group.pattern("fakebows", "^(BOSS_SPIRIT_BOW|CRYPT_BOW)$")
private val quiverInventoryNamePattern by group.pattern("quivername", "^Quiver$")
+
+ /**
+ * REGEX-TEST: §7Active Arrow: §fFlint Arrow §7(§e2880§7)
+ */
private val quiverInventoryPattern by group.pattern(
"quiver.inventory",
"§7Active Arrow: §.(?<type>.*) §7\\(§e(?<amount>.*)§7\\)"