Now a triangle in the config screen (until you resize the window, then it crashes)

This commit is contained in:
coolGi2007
2022-05-11 12:25:27 +00:00
parent c5def9b663
commit ef53a299f9
2 changed files with 3 additions and 8 deletions
@@ -7,20 +7,15 @@ public class GetConfigScreen {
public static type useScreen = type.Classic;
public static enum type {
Classic,
OpenGL,
New;
OpenGL;
}
public static Screen getScreen(Screen parent) {
if (useScreen == type.Classic) {
return ClassicConfigGUI.getScreen(parent, "");
return ClassicConfigGUI.getScreen(parent, "client");
} else if (useScreen == type.OpenGL) {
return ConfigScreenMC.getScreen(parent, new ConfigScreen());
} else if (useScreen == type.New) {
System.out.println("This is not made yet");
return null;
}
return null;
}
}
+1 -1
Submodule core updated: 3f6a2d5195...e13c331f0a