fix gui settings for mek gen

This commit is contained in:
maggi373 committed 2023-02-07 18:49:16 +01:00
1 parent 91c4f1d78d
commit 07e906c08e
1 file changed
+6 -6
@@ -42,8 +42,8 @@ public class GuiGeneratorsConfig extends GuiConfig {
@Override
protected GuiScreen buildChildScreen() {
return new GuiConfig(owningScreen, new ConfigElement(Mekanism.configuration.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), owningScreen.modID,
Configuration.CATEGORY_GENERAL, false, false, GuiConfig.getAbridgedConfigPath(Mekanism.configuration.toString()));
return new GuiConfig(owningScreen, new ConfigElement(Mekanism.configurationgenerators.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), owningScreen.modID,
Configuration.CATEGORY_GENERAL, false, false, GuiConfig.getAbridgedConfigPath(Mekanism.configurationgenerators.toString()));
}
}
@@ -55,8 +55,8 @@ public class GuiGeneratorsConfig extends GuiConfig {
@Override
protected GuiScreen buildChildScreen() {
return new GuiConfig(owningScreen, new ConfigElement(Mekanism.configuration.getCategory("generators")).getChildElements(), owningScreen.modID,
Configuration.CATEGORY_GENERAL, false, false, GuiConfig.getAbridgedConfigPath(Mekanism.configuration.toString()));
return new GuiConfig(owningScreen, new ConfigElement(Mekanism.configurationgenerators.getCategory("generators")).getChildElements(), owningScreen.modID,
Configuration.CATEGORY_GENERAL, false, false, GuiConfig.getAbridgedConfigPath(Mekanism.configurationgenerators.toString()));
}
}
@@ -68,8 +68,8 @@ public class GuiGeneratorsConfig extends GuiConfig {
@Override
protected GuiScreen buildChildScreen() {
return new GuiConfig(owningScreen, new ConfigElement(Mekanism.configuration.getCategory("generation")).getChildElements(), owningScreen.modID,
Configuration.CATEGORY_GENERAL, false, false, GuiConfig.getAbridgedConfigPath(Mekanism.configuration.toString()));
return new GuiConfig(owningScreen, new ConfigElement(Mekanism.configurationgenerators.getCategory("generation")).getChildElements(), owningScreen.modID,
Configuration.CATEGORY_GENERAL, false, false, GuiConfig.getAbridgedConfigPath(Mekanism.configurationgenerators.toString()));
}
}
}