Archiviert
1
0

Fix TeamCommand tp no message

Dieser Commit ist enthalten in:
yoyosource 2022-05-28 13:17:53 +02:00
Ursprung 1b61ba93e9
Commit f45ed11a59

Datei anzeigen

@ -587,6 +587,7 @@ public class TeamCommand extends BasicCommand {
ProxyServer.getInstance().getServers().put(info.getName(), info); ProxyServer.getInstance().getServers().put(info.getName(), info);
return info; return info;
}); });
try {
player.connect(serverInfo, (success, error) -> { player.connect(serverInfo, (success, error) -> {
if (error != null) { if (error != null) {
error.printStackTrace(); error.printStackTrace();
@ -595,6 +596,9 @@ public class TeamCommand extends BasicCommand {
Message.send("TEAM_TIMEOUT", player); 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){