geforkt von SteamWar/BungeeCore
Fixing
Dieser Commit ist enthalten in:
Ursprung
69e8a4e24f
Commit
4d752e033c
@ -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(" ");
|
||||||
|
@ -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;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren