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/ConfiguredCompat.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/ConfiguredCompat.kt')
-rw-r--r-- | src/compat/configured/java/ConfiguredCompat.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compat/configured/java/ConfiguredCompat.kt b/src/compat/configured/java/ConfiguredCompat.kt index a5b78bb..8e8b022 100644 --- a/src/compat/configured/java/ConfiguredCompat.kt +++ b/src/compat/configured/java/ConfiguredCompat.kt @@ -6,6 +6,7 @@ import com.mrcrayfish.configured.api.IModConfigProvider import com.mrcrayfish.configured.api.ModContext import moe.nea.firmament.Firmament import moe.nea.firmament.gui.config.AllConfigsGui +import moe.nea.firmament.gui.config.ManagedConfig /** * Registered in `fabric.mod.json` at `custom.configured.providers` @@ -23,7 +24,7 @@ class ConfiguredCompat : IModConfigProvider { return "firmament.config.all-configs" } }) - AllConfigsGui.allConfigs.mapTo(this) { ConfigCategory(it) } + ManagedConfig.allManagedConfigs.getAll().mapTo(this) { ConfigCategory(it) } } } } |