diff options
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 } } |