13
0

Remove Own Player in Addteam
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2022-08-20 12:55:08 +02:00
Ursprung f78927c50a
Commit 9914c029e5

Datei anzeigen

@ -486,7 +486,7 @@ public class SchematicCommand extends SWCommand {
return;
}
addMember(player, node, team.getMembers().stream().map(SteamwarUser::get).toArray(SteamwarUser[]::new));
addMember(player, node, team.getMembers().stream().map(SteamwarUser::get).filter(steamwarUser -> steamwarUser.getId() != user.getId()).toArray(SteamwarUser[]::new));
}
@Register("delteam")