diff options
author | inglettronald <inglettronald@gmail.com> | 2023-05-25 17:58:15 -0500 |
---|---|---|
committer | inglettronald <inglettronald@gmail.com> | 2023-05-25 17:58:15 -0500 |
commit | 9be0ba12f43717aef1e3892aebbe9bdef75dd509 (patch) | |
tree | ce672c167098fbff74b226a72e0fdbd039691105 /src/main/kotlin/dulkirmod | |
parent | 48ee99b0ca3df57240811b6afda3886291e68444 (diff) | |
download | DulkirMod-9be0ba12f43717aef1e3892aebbe9bdef75dd509.tar.gz DulkirMod-9be0ba12f43717aef1e3892aebbe9bdef75dd509.tar.bz2 DulkirMod-9be0ba12f43717aef1e3892aebbe9bdef75dd509.zip |
added check for faction questline calls
Diffstat (limited to 'src/main/kotlin/dulkirmod')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/chat/AbiphoneDND.kt | 2 |
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() |