From a9aaa3256e9d888af00fbf3bcbd86f9005425ec5 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 8 May 2023 01:00:44 +0200 Subject: just so nobody crashes someone by typing weird coords --- .../hannibal2/skyhanni/features/event/diana/InquisitorWaypointShare.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') 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> (?.*)§f: §rx: (?.*), y: (?.*), z: (?-?\\d+)\\b".toPattern() + private val partyPattern = "§9Party §8> (?.*)§f: §rx: (?-?[0-9]{1,4}), y: (?-?[0-9]{1,4}), z: (?-?[0-9]{1,4})\\b".toPattern() private val diedPattern = "§9Party §8> (?.*)§f: §rInquisitor dead!".toPattern() private var time = 0L -- cgit