mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 16:03:22 +02:00
fixed saving config
This commit is contained in:
parent
74f9b19611
commit
818985e6d4
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class ModMenu implements ModMenuApi {
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||||
return parent -> YetAnotherConfigLib.createBuilder()
|
return parent -> YetAnotherConfigLib.createBuilder().save(config::save)
|
||||||
.title(Text.of("Sit!"))
|
.title(Text.of("Sit!"))
|
||||||
.category(ConfigCategory.createBuilder()
|
.category(ConfigCategory.createBuilder()
|
||||||
.name(lang("category.general"))
|
.name(lang("category.general"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue