Updated lang generator to whitelist linked options

This commit is contained in:
coolGi
2023-06-08 23:06:48 +09:30
parent 72c9de354e
commit 4a9dc216e7
2 changed files with 6 additions and 1 deletions
@@ -17,6 +17,11 @@ public class GetConfigScreen {
}
public static Screen getScreen(Screen parent) {
// Generate the language
// This shouldnt be here, but I need a way to test it after Minecraft inits its assets
// System.out.println(ConfigBase.INSTANCE.generateLang(false, true));
return switch (useScreen) {
case Classic -> ClassicConfigGUI.getScreen(ConfigBase.INSTANCE, parent, "client");
case OpenGL -> MinecraftScreen.getScreen(parent, new OpenGLConfigScreen(), ModInfo.ID + ".title");