geforkt von SteamWar/BungeeCore
Used Lambda
Dieser Commit ist enthalten in:
Ursprung
bc39e6f307
Commit
2bbcb283b4
@ -427,7 +427,7 @@ public class TeamCommand extends BasicCommand {
|
|||||||
|
|
||||||
Message.sendPrefixless("TEAM_INFO_TEAM", player, team.getTeamName(), team.getTeamColor(), team.getTeamKuerzel());
|
Message.sendPrefixless("TEAM_INFO_TEAM", player, team.getTeamName(), team.getTeamColor(), team.getTeamKuerzel());
|
||||||
|
|
||||||
List<SteamwarUser> users = team.getMembers().stream().map(userId -> SteamwarUser.get(userId)).collect(Collectors.toList());
|
List<SteamwarUser> users = team.getMembers().stream().map(SteamwarUser::get).collect(Collectors.toList());
|
||||||
|
|
||||||
Message.sendPrefixless("TEAM_INFO_LEADER", player, getMemberList(users, true));
|
Message.sendPrefixless("TEAM_INFO_LEADER", player, getMemberList(users, true));
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren