aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2023-01-20 10:39:21 -0500
committerWyvest <45589059+Wyvest@users.noreply.github.com>2023-01-20 10:39:21 -0500
commitbef30e98cf9f3697ac6fefbd82f4cb160edaad46 (patch)
tree06cb2f11f0feb4f5d729a29812cdbde391d5c72a /src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
parent5822703b7d770ec67a4c4ca00192006b8f0cb9b9 (diff)
downloadChatting-bef30e98cf9f3697ac6fefbd82f4cb160edaad46.tar.gz
Chatting-bef30e98cf9f3697ac6fefbd82f4cb160edaad46.tar.bz2
Chatting-bef30e98cf9f3697ac6fefbd82f4cb160edaad46.zip
betterchat compat
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt')
-rw-r--r--src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
index 9fa67ed..6e6e0ff 100644
--- a/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
+++ b/src/main/kotlin/cc/woverflow/chatting/config/ChattingConfig.kt
@@ -14,6 +14,7 @@ import cc.woverflow.chatting.chat.ChatTab
import cc.woverflow.chatting.chat.ChatTabs
import cc.woverflow.chatting.gui.components.TabButton
import cc.woverflow.chatting.hook.ChatLineHook
+import cc.woverflow.chatting.utils.ModCompatHooks
import java.io.File
object ChattingConfig : Config(
@@ -222,6 +223,15 @@ object ChattingConfig : Config(
initialize()
addDependency("offsetNonPlayerMessages", "showChatHeads")
addDependency("hideChatHeadOnConsecutiveMessages", "showChatHeads")
+ addDependency("hypixelOnlyChatTabs", "chatTabs")
+ addDependency("hypixelOnlyChatShortcuts", "chatShortcuts")
+ addDependency("focusedHeight", "customChatHeight")
+ addDependency("unfocusedHeight", "customChatHeight")
+ addDependency("scrollingSpeed", "smoothScrolling")
+ addDependency("messageSpeed", "smoothChat")
+ addDependency("smoothChat", "BetterChat Smooth Chat") {
+ return@addDependency !ModCompatHooks.betterChatSmoothMessages
+ }
addListener("hideChatHeadOnConsecutiveMessages") {
ChatLineHook.chatLines.map { it.get() as ChatLineHook? }.forEach { it?.updatePlayerInfo() }
}