From e1a4e3db0b3033b4099d77f0bb7d08b60f2c7a73 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Tue, 21 Mar 2023 01:15:45 -0500 Subject: dragon stuff and some random things i forget --- src/main/kotlin/dulkirmod/features/chat/FakeMsg.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/dulkirmod/features/chat') diff --git a/src/main/kotlin/dulkirmod/features/chat/FakeMsg.kt b/src/main/kotlin/dulkirmod/features/chat/FakeMsg.kt index e1b618f..8e4d2dd 100644 --- a/src/main/kotlin/dulkirmod/features/chat/FakeMsg.kt +++ b/src/main/kotlin/dulkirmod/features/chat/FakeMsg.kt @@ -4,7 +4,7 @@ import dulkirmod.utils.TextUtils import net.minecraftforge.client.event.ClientChatReceivedEvent object FakeMsg { - private val dulkirRegex = "From \\[MVP(\\+|\\+\\+)] Dulkir: c:".toRegex() + private val dulkirRegex = "^From \\[MVP(\\+|\\+\\+)] Dulkir: c:".toRegex() fun handle(event: ClientChatReceivedEvent, unformatted: String) { if (dulkirRegex.matches(unformatted)) { event.isCanceled = true -- cgit