SteamWar/BungeeCore
Archiviert
13
2

Fix team event overview

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2021-02-05 07:38:56 +01:00
Ursprung 4fb3411842
Commit e1cd7b9c52

Datei anzeigen

@ -87,10 +87,9 @@ public class EventCommand extends BasicCommand {
if(!teams.isEmpty()){ if(!teams.isEmpty()){
StringBuilder tline = new StringBuilder(); StringBuilder tline = new StringBuilder();
for(Team t : teams){ for(Team t : teams){
tline.append(Message.parse("EVENT_COMING_TEAM", player, t.getTeamColor(), t.getTeamKuerzel())); tline.append(' ').append(Message.parse("EVENT_COMING_TEAM", player, t.getTeamColor(), t.getTeamKuerzel()));
} }
Message.send("EVENT_COMING_TEAMS", player, tline.toString()); Message.send("EVENT_COMING_TEAMS", player, tline.toString());
BungeeCore.send(player, tline.toString());
} }
} }
} }