SteamWar/BungeeCore
Archiviert
13
2

Comma seperated team info #266

Zusammengeführt
Lixfel hat 1 Commits von commaTeamInfo nach master 2021-10-25 09:17:37 +02:00 zusammengeführt

Datei anzeigen

@ -441,10 +441,7 @@ public class TeamCommand extends BasicCommand {
Set<Event> events = TeamTeilnahme.getEvents(team.getTeamId());
if(!events.isEmpty()){
StringBuilder sb = new StringBuilder();
for(Event e : events)
sb.append(e.getEventName()).append(" ");
Message.sendPrefixless("TEAM_INFO_EVENTS", player, sb.toString());
Message.sendPrefixless("TEAM_INFO_EVENTS", player, events.stream().map(Event::getEventName).collect(Collectors.joining(", ")));
}
}