Dieser Commit ist enthalten in:
Ursprung
1b61ba93e9
Commit
f45ed11a59
@ -587,14 +587,18 @@ public class TeamCommand extends BasicCommand {
|
|||||||
ProxyServer.getInstance().getServers().put(info.getName(), info);
|
ProxyServer.getInstance().getServers().put(info.getName(), info);
|
||||||
return info;
|
return info;
|
||||||
});
|
});
|
||||||
player.connect(serverInfo, (success, error) -> {
|
try {
|
||||||
if (error != null) {
|
player.connect(serverInfo, (success, error) -> {
|
||||||
error.printStackTrace();
|
if (error != null) {
|
||||||
}
|
error.printStackTrace();
|
||||||
if (error instanceof ConnectTimeoutException) {
|
}
|
||||||
Message.send("TEAM_TIMEOUT", player);
|
if (error instanceof ConnectTimeoutException) {
|
||||||
}
|
Message.send("TEAM_TIMEOUT", player);
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void server(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){
|
private void server(ProxiedPlayer player, SteamwarUser user, Team team, String[] args){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren