From 79a75f7681188c6425b106fae6cf43f0ea16bc63 Mon Sep 17 00:00:00 2001 From: Username404 Date: Fri, 4 Jun 2021 21:55:54 +0200 Subject: [PATCH] List hidden boxes too in the colors section of the config screen --- .../main/kotlin/fr/username404/snowygui/config/ConfigScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/config/ConfigScreen.kt b/common/src/main/kotlin/fr/username404/snowygui/config/ConfigScreen.kt index d4df90a..5895bb6 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/config/ConfigScreen.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/config/ConfigScreen.kt @@ -52,7 +52,7 @@ val SnowyConfigScreen: Screen get() { }.setTooltip(Component.nullToEmpty("WARNING: Do not use this on servers or you might get banned.")).build() ).addEntry(startSubCategory(TranslatableComponent("$confPrefix.colors")).also { builder -> builder.addAll( - ClickGui.clickboxes.filterNot { it.hidden }.map { box -> + ClickGui.clickboxes.map { box -> startColorField(box.name, box.color).setSaveConsumer { box.color = it }.setDefaultValue(Category.values().find {