renamed direct connect to "GuiScreenDirectConnect.java"
This commit is contained in:
parent
cfa65f6e51
commit
d01c6fb300
|
@ -176,7 +176,7 @@ public class GuiMultiplayer extends GuiScreen {
|
||||||
this.joinServer(this.selectedServer);
|
this.joinServer(this.selectedServer);
|
||||||
} else if (par1GuiButton.id == 4) {
|
} else if (par1GuiButton.id == 4) {
|
||||||
this.directClicked = true;
|
this.directClicked = true;
|
||||||
this.mc.displayGuiScreen(new GuiScreenServerList(this, this.theServerData = new ServerData(StatCollector.translateToLocal("selectServer.defaultName"), "", false)));
|
this.mc.displayGuiScreen(new GuiScreenDirectConnect(this, this.theServerData = new ServerData(StatCollector.translateToLocal("selectServer.defaultName"), "", false)));
|
||||||
} else if (par1GuiButton.id == 3) {
|
} else if (par1GuiButton.id == 3) {
|
||||||
this.addClicked = true;
|
this.addClicked = true;
|
||||||
this.mc.displayGuiScreen(new GuiScreenAddServer(this, this.theServerData = new ServerData(StatCollector.translateToLocal("selectServer.defaultName"), "", false)));
|
this.mc.displayGuiScreen(new GuiScreenAddServer(this, this.theServerData = new ServerData(StatCollector.translateToLocal("selectServer.defaultName"), "", false)));
|
||||||
|
|
|
@ -2,7 +2,7 @@ package net.minecraft.src;
|
||||||
|
|
||||||
import net.lax1dude.eaglercraft.EaglerAdapter;
|
import net.lax1dude.eaglercraft.EaglerAdapter;
|
||||||
|
|
||||||
public class GuiScreenServerList extends GuiScreen {
|
public class GuiScreenDirectConnect extends GuiScreen {
|
||||||
/** Needed a change as a local variable was conflicting on construct */
|
/** Needed a change as a local variable was conflicting on construct */
|
||||||
private final GuiScreen guiScreen;
|
private final GuiScreen guiScreen;
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ public class GuiScreenServerList extends GuiScreen {
|
||||||
private final ServerData theServerData;
|
private final ServerData theServerData;
|
||||||
private GuiTextField serverTextField;
|
private GuiTextField serverTextField;
|
||||||
|
|
||||||
public GuiScreenServerList(GuiScreen par1GuiScreen, ServerData par2ServerData) {
|
public GuiScreenDirectConnect(GuiScreen par1GuiScreen, ServerData par2ServerData) {
|
||||||
this.guiScreen = par1GuiScreen;
|
this.guiScreen = par1GuiScreen;
|
||||||
this.theServerData = par2ServerData;
|
this.theServerData = par2ServerData;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user