geforkt von SteamWar/BungeeCore
Merge pull request 'Remove PUB (Öffentlich) team from /team info after /softreload' (#137) from TeamInfo into master
Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Commit
1b0bbc0528
@ -43,8 +43,10 @@ public class Team {
|
|||||||
teamKuerzel = kuerzel;
|
teamKuerzel = kuerzel;
|
||||||
teamName = name;
|
teamName = name;
|
||||||
teamLeader = leader;
|
teamLeader = leader;
|
||||||
|
if (leader != 0) {
|
||||||
teamCache.add(this);
|
teamCache.add(this);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private Team(ResultSet rs) throws SQLException {
|
private Team(ResultSet rs) throws SQLException {
|
||||||
this(rs.getInt("TeamID"), rs.getString("TeamKuerzel"), rs.getString("TeamName"), rs.getInt("TeamLeader"));
|
this(rs.getInt("TeamID"), rs.getString("TeamKuerzel"), rs.getString("TeamName"), rs.getInt("TeamLeader"));
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren