Archiviert
1
0
Dieser Commit ist enthalten in:
Chaoscaot 2020-12-29 14:47:58 +01:00
Ursprung 69e8a4e24f
Commit 4d752e033c
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
src/de/steamwar/bungeecore

Datei anzeigen

@ -166,7 +166,8 @@ public class ChatListener extends BasicListener {
String msg = name + "§7»" + chatcolor + " " + message; String msg = name + "§7»" + chatcolor + " " + message;
if(user.getTeam() != 0){ if(user.getTeam() != 0){
msg = "§" + Team.get(user.getTeam()).getTeamColor() + Team.get(user.getTeam()).getTeamKuerzel() + " §r" + msg; Team team = Team.get(user.getTeam());
msg = "§" + team.getTeamColor() + team.getTeamKuerzel() + " §r" + msg;
} }
String[] msgSplits = msg.split(" "); String[] msgSplits = msg.split(" ");

Datei anzeigen

@ -37,7 +37,7 @@ public class Team {
private String teamColor; private String teamColor;
private static final List<Team> teamCache = new LinkedList<>(); private static final List<Team> teamCache = new LinkedList<>();
private static final Team pub = new Team(0, "PUB", "Öffentlich", 0, "&7"); private static final Team pub = new Team(0, "PUB", "Öffentlich", 0, "8");
private Team(int id, String kuerzel, String name, int leader, String color){ private Team(int id, String kuerzel, String name, int leader, String color){
teamId = id; teamId = id;