Fix username config

This commit is contained in:
PeytonPlayz595 2024-03-27 18:21:32 -04:00
parent 5ba81a0669
commit 8a5c76abcc
4 changed files with 9537 additions and 9535 deletions

File diff suppressed because one or more lines are too long

View File

@ -156,6 +156,8 @@ public class Minecraft implements Runnable {
this.checkGLError("Post startup"); this.checkGLError("Post startup");
this.ingameGUI = new GuiIngame(this); this.ingameGUI = new GuiIngame(this);
if(GL11.forcedUser != null & GL11.forcedServer != null & GL11.joinServerOnLaunch) { if(GL11.forcedUser != null & GL11.forcedServer != null & GL11.joinServerOnLaunch) {
this.field_6320_i.inventory = GL11.forcedUser;
this.gameSettings.username = GL11.forcedUser;
this.displayGuiScreen(new GuiConnecting(this, GL11.forcedServer)); this.displayGuiScreen(new GuiConnecting(this, GL11.forcedServer));
} else { } else {
this.displayGuiScreen(new GuiMainMenu()); this.displayGuiScreen(new GuiMainMenu());

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long