diff options
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/chat/VanquisherTrigger.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/chat/VanquisherTrigger.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/dulkirmod/features/chat/VanquisherTrigger.kt b/src/main/kotlin/dulkirmod/features/chat/VanquisherTrigger.kt index d607df2..93d15d2 100644 --- a/src/main/kotlin/dulkirmod/features/chat/VanquisherTrigger.kt +++ b/src/main/kotlin/dulkirmod/features/chat/VanquisherTrigger.kt @@ -1,11 +1,11 @@ package dulkirmod.features.chat -import dulkirmod.config.Config +import dulkirmod.config.DulkirConfig import dulkirmod.utils.TextUtils object VanquisherTrigger { fun handle(message: String) { - if (!Config.vanqBroadcast) return + if (!DulkirConfig.vanqBroadcast) return if (message == "A Vanquisher is spawning nearby!") { TextUtils.sendMessage("/patcher sendcoords") } |