sp gui button size

This commit is contained in:
Sen 2025-03-11 23:30:22 +01:00
parent 705395472a
commit b7fd82b170
5 changed files with 15 additions and 14 deletions

View file

@ -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 {