diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-08 01:00:44 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-08 01:00:44 +0200 |
commit | a9aaa3256e9d888af00fbf3bcbd86f9005425ec5 (patch) | |
tree | 5c64defcc1468d6583944b08c0ac735f538bc5c2 /src | |
parent | 862bb3020447122d670642c7ab318ad8725571e4 (diff) | |
download | skyhanni-a9aaa3256e9d888af00fbf3bcbd86f9005425ec5.tar.gz skyhanni-a9aaa3256e9d888af00fbf3bcbd86f9005425ec5.tar.bz2 skyhanni-a9aaa3256e9d888af00fbf3bcbd86f9005425ec5.zip |
just so nobody crashes someone by typing weird coords
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt index 80aea09f9..abf402f3e 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt @@ -25,7 +25,7 @@ import org.lwjgl.input.Keyboard object InquisitorWaypointShare { private val config get() = SkyHanniMod.feature.diana.inquisitorSharing - private val partyPattern = "§9Party §8> (?<playerName>.*)§f: §rx: (?<x>.*), y: (?<y>.*), z: (?<z>-?\\d+)\\b".toPattern() + private val partyPattern = "§9Party §8> (?<playerName>.*)§f: §rx: (?<x>-?[0-9]{1,4}), y: (?<y>-?[0-9]{1,4}), z: (?<z>-?[0-9]{1,4})\\b".toPattern() private val diedPattern = "§9Party §8> (?<playerName>.*)§f: §rInquisitor dead!".toPattern() private var time = 0L |