From dffb8036eecba409ddb529e84ad8110f67a639d6 Mon Sep 17 00:00:00 2001 From: Yedelo <158670400+yedelo@users.noreply.github.com> Date: Mon, 5 Oct 2026 19:30:25 -0400 Subject: [PATCH 1/2] Add old property name and description to new property --- .../org/polyfrost/glintcolorizer/config/GlintConfig.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt b/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt index 545d2a0..12086c3 100644 --- a/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt +++ b/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt @@ -176,8 +176,9 @@ object GlintConfig : Config( val subTree = getTree()?.get(id) as? Tree ?: return for (field in GlintEffectOptions::class.java.declaredFields) { if (field.isSynthetic) continue - if (subTree.get(field.name) !is Property<*>) continue - subTree.put(Properties.field(field = field, owner = target)) + val subTreeChild = subTree.get(field.name) + if (subTreeChild !is Property<*>) continue + subTree.put(Properties.field(name = subTreeChild.title as String?, description = subTreeChild.description as String?, field = field, owner = target)) } } From d206769e041971a67494139fd17caab836a1d727 Mon Sep 17 00:00:00 2001 From: Yedelo <158670400+yedelo@users.noreply.github.com> Date: Mon, 5 Oct 2026 19:36:41 -0400 Subject: [PATCH 2/2] Add accordion titles --- .../org/polyfrost/glintcolorizer/config/GlintConfig.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt b/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt index 12086c3..c8eb8eb 100644 --- a/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt +++ b/src/main/kotlin/org/polyfrost/glintcolorizer/config/GlintConfig.kt @@ -86,21 +86,25 @@ object GlintConfig : Config( } @Accordion( + title = "Held Item", category = "Held Item" ) var heldItem = GlintEffectOptions() @Accordion( + title = "GUI Item", category = "GUI Item" ) var guiItem = GlintEffectOptions() @Accordion( + title = "Dropped Item", category = "Dropped Item" ) var droppedItem = GlintEffectOptions() @Accordion( + title = "Framed Item", category = "Framed Item" ) var framedItem = GlintEffectOptions() @@ -148,6 +152,7 @@ object GlintConfig : Config( var potionGlintBackground = false @Accordion( + title = "Shiny Pots", category = "Shiny Pots" ) var shinyPots = GlintEffectOptions()