Merge branch 'kotlin-1.9.4' into kotlin-1.10
This commit is contained in:
@@ -63,6 +63,11 @@ abstract class DelegatingConfig(val modId: String, val langPrefix: String) {
|
||||
rootGuiElements.add(ConfigElement(configCategory))
|
||||
}
|
||||
save()
|
||||
|
||||
// hide all categories not in the config singleton
|
||||
config.categoryNames.forEach {
|
||||
config.getCategory(it).setShowInGui(it in subProperties.keySet())
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user