diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-13 21:46:46 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-13 21:46:46 +0200 |
commit | 4e9b0ded27df8b6ce7f5b2fa1b4b1ddbc1cbd452 (patch) | |
tree | a489fdd97e6c4dde1bd77bf216ed9c2ec2657db3 /src/compat/configured/java/BaseConfigNode.kt | |
parent | 0cc77949c907d38497f8cdf6fd8198fe5f0a9440 (diff) | |
download | firmament-4e9b0ded27df8b6ce7f5b2fa1b4b1ddbc1cbd452.tar.gz firmament-4e9b0ded27df8b6ce7f5b2fa1b4b1ddbc1cbd452.tar.bz2 firmament-4e9b0ded27df8b6ce7f5b2fa1b4b1ddbc1cbd452.zip |
Add config categories
Diffstat (limited to 'src/compat/configured/java/BaseConfigNode.kt')
-rw-r--r-- | src/compat/configured/java/BaseConfigNode.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compat/configured/java/BaseConfigNode.kt b/src/compat/configured/java/BaseConfigNode.kt index 7330990..afe0375 100644 --- a/src/compat/configured/java/BaseConfigNode.kt +++ b/src/compat/configured/java/BaseConfigNode.kt @@ -4,11 +4,12 @@ import com.mrcrayfish.configured.api.IConfigEntry import com.mrcrayfish.configured.api.IConfigValue import net.minecraft.text.Text import moe.nea.firmament.gui.config.AllConfigsGui +import moe.nea.firmament.gui.config.ManagedConfig object BaseConfigNode : IConfigEntry { override fun getChildren(): List<IConfigEntry> { - return AllConfigsGui.allConfigs.map { - ConfigNode(it) + return ManagedConfig.allManagedConfigs.getAll().map { + ConfigNode(it) // TODO: fix add categories here } } |