aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-05-25 17:58:15 -0500
committeringlettronald <inglettronald@gmail.com>2023-05-25 17:58:15 -0500
commit9be0ba12f43717aef1e3892aebbe9bdef75dd509 (patch)
treece672c167098fbff74b226a72e0fdbd039691105 /src
parent48ee99b0ca3df57240811b6afda3886291e68444 (diff)
downloadDulkirMod-9be0ba12f43717aef1e3892aebbe9bdef75dd509.tar.gz
DulkirMod-9be0ba12f43717aef1e3892aebbe9bdef75dd509.tar.bz2
DulkirMod-9be0ba12f43717aef1e3892aebbe9bdef75dd509.zip
added check for faction questline calls
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt2
1 files changed, 1 insertions, 1 deletions
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()