From 9be0ba12f43717aef1e3892aebbe9bdef75dd509 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Thu, 25 May 2023 17:58:15 -0500 Subject: added check for faction questline calls --- src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt b/src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt index 0d6f47f..d91e59e 100644 --- a/src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt +++ b/src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt @@ -24,7 +24,7 @@ object AbiphoneDND { fun handle(event: ClientChatReceivedEvent, unformatted: String) { if (!DulkirConfig.abiDND) return - if (unformatted matches abiphoneFormat) { + if (unformatted matches abiphoneFormat && !unformatted.contains("Elle") && !unformatted.contains("Dean")) { val matchResult = abiphoneFormat.find(unformatted) event.isCanceled = true lastRing = System.currentTimeMillis() -- cgit