Add config categories
This commit is contained in:
@@ -16,7 +16,7 @@ object CompatibliltyFeatures : FirmamentFeature {
|
||||
override val identifier: String
|
||||
get() = "compatibility"
|
||||
|
||||
object TConfig : ManagedConfig(identifier) {
|
||||
object TConfig : ManagedConfig(identifier, Category.INTEGRATIONS) {
|
||||
val enhancedExplosions by toggle("explosion-enabled") { false }
|
||||
val explosionSize by integer("explosion-power", 10, 50) { 1 }
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ object Fixes : FirmamentFeature {
|
||||
override val identifier: String
|
||||
get() = "fixes"
|
||||
|
||||
object TConfig : ManagedConfig(identifier) {
|
||||
object TConfig : ManagedConfig(identifier, Category.MISC) { // TODO: split this config
|
||||
val fixUnsignedPlayerSkins by toggle("player-skins") { true }
|
||||
var autoSprint by toggle("auto-sprint") { false }
|
||||
val autoSprintKeyBinding by keyBindingWithDefaultUnbound("auto-sprint-keybinding")
|
||||
|
||||
Reference in New Issue
Block a user