This commit is contained in:
kirillsaint 2023-09-15 12:07:53 +06:00
parent 3e796da7d9
commit eb960ab990

View File

@ -168,9 +168,9 @@ public class SilentMultiplayerGui extends SilentScreen {
}
public void connectToSelected() {
ServerData server = savedServerList.getServerData(selectedServer);
ServerComponent server = servers.get(selectedServer);
if(server != null) {
this.connect(new ServerData(server.serverName, server.serverIP, false));
this.connect(new ServerData(server.getServer().serverName, server.getServer().serverIP, false));
}
}