SteamWar/BungeeCore
Archiviert
13
2

Teamserver #344

Zusammengeführt
Lixfel hat 15 Commits von Teamserver nach master 2022-04-23 12:17:05 +02:00 zusammengeführt
Nur Änderungen aus Commit 2d3466aecb werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -584,7 +584,9 @@ public class TeamCommand extends BasicCommand {
}
ServerInfo serverInfo = Storage.teamServers.computeIfAbsent(targetTeam.getTeamId(), integer -> {
InetSocketAddress address = new InetSocketAddress(targetTeam.getAddress(), targetTeam.getPort());
return ProxyServer.getInstance().constructServerInfo("Team " + targetTeam.getTeamKuerzel(), address, "SteamWar.de - Teamserver", false);
ServerInfo info = ProxyServer.getInstance().constructServerInfo("Team " + targetTeam.getTeamKuerzel(), address, "SteamWar.de - Teamserver", false);
ProxyServer.getInstance().getServers().put(info.getName(), info);
return info;
});
player.connect(serverInfo);
}