use of com.almuradev.almura.feature.menu.main.ConnectingGui in project Almura by AlmuraDev.
the class MultiplayerScreen method join.
private void join() {
// If we don't have a selected server or the server isn't online then don't continue
final ServerEntry entry = this.serverList.getSelectedItem();
if (entry == null || entry.status == ServerStatus.OFFLINE || entry.status == ServerStatus.RESTARTING) {
return;
}
FMLClientHandler.instance().setupServerList();
new ConnectingGui(this, new ServerData(entry.name, entry.address + ":" + entry.port, false)).display();
}
Aggregations