aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-17 22:28:51 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-17 22:28:51 +0200
commitaa3a6fb793d42c877fcfcf9bb1fefed90f0333f6 (patch)
tree67b012ec9b655dc72306ab0028ddfc8d04537919 /src/main/java/at/hannibal2
parentfdf5c89d272beb3a8c903de1bcdaa594ad2de3d9 (diff)
downloadskyhanni-aa3a6fb793d42c877fcfcf9bb1fefed90f0333f6.tar.gz
skyhanni-aa3a6fb793d42c877fcfcf9bb1fefed90f0333f6.tar.bz2
skyhanni-aa3a6fb793d42c877fcfcf9bb1fefed90f0333f6.zip
add regex test
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
index 2357cdaee..f36e83209 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
@@ -26,6 +26,9 @@ class PatcherSendCoordinates {
private val patcherBeacon = mutableListOf<PatcherBeacon>()
private val logger = LorenzLogger("misc/patchercoords")
+ /**
+ * REGEX-TEST: hannibal2: x: 2, y: 3, z: 4
+ */
private val coordinatePattern by RepoPattern.pattern(
"misc.patchercoords.coords",
"(?<playerName>.*): [xX]: (?<x>[0-9.-]+),? [yY]: (?<y>[0-9.-]+),? [zZ]: (?<z>.*)"