sp gui button size
This commit is contained in:
parent
705395472a
commit
b7fd82b170
5 changed files with 15 additions and 14 deletions
|
@ -5,6 +5,7 @@ import game.gui.element.ActButton;
|
|||
import game.gui.element.Label;
|
||||
import game.gui.element.Textbox;
|
||||
import game.gui.element.Textbox.Action;
|
||||
import game.init.Config;
|
||||
import game.network.NetHandlerPlayServer;
|
||||
|
||||
public class GuiConnect extends Gui implements Textbox.Callback {
|
||||
|
@ -62,7 +63,7 @@ public class GuiConnect extends Gui implements Textbox.Callback {
|
|||
}
|
||||
int port = -1;
|
||||
if(this.portBox.getText().isEmpty()) {
|
||||
port = 26666;
|
||||
port = Config.PORT;
|
||||
}
|
||||
else {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue