List hidden boxes too in the colors section of the config screen

This commit is contained in:
Username404 2021-06-04 21:55:54 +02:00
parent 3b1fe46b12
commit 79a75f7681
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ val SnowyConfigScreen: Screen get() {
}.setTooltip(Component.nullToEmpty("WARNING: Do not use this on servers or you might get banned.")).build() }.setTooltip(Component.nullToEmpty("WARNING: Do not use this on servers or you might get banned.")).build()
).addEntry(startSubCategory(TranslatableComponent("$confPrefix.colors")).also { builder -> ).addEntry(startSubCategory(TranslatableComponent("$confPrefix.colors")).also { builder ->
builder.addAll( builder.addAll(
ClickGui.clickboxes.filterNot { it.hidden }.map { box -> ClickGui.clickboxes.map { box ->
startColorField(box.name, box.color).setSaveConsumer { startColorField(box.name, box.color).setSaveConsumer {
box.color = it box.color = it
}.setDefaultValue(Category.values().find { }.setDefaultValue(Category.values().find {