Add chat peeking keybinding
This commit is contained in:
@@ -20,6 +20,7 @@ object Fixes : FirmamentFeature {
|
||||
object TConfig : ManagedConfig(identifier) {
|
||||
val fixUnsignedPlayerSkins by toggle("player-skins") { true }
|
||||
val autoSprint by toggle("auto-sprint") { false }
|
||||
val peekChat by keyBindingWithDefaultUnbound("peek-chat")
|
||||
}
|
||||
|
||||
override val config: ManagedConfig
|
||||
@@ -35,4 +36,8 @@ object Fixes : FirmamentFeature {
|
||||
|
||||
override fun onLoad() {
|
||||
}
|
||||
|
||||
fun shouldPeekChat(): Boolean {
|
||||
return TConfig.peekChat.isPressed(atLeast = true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user