geforkt von SteamWar/BungeeCore
Remove PUB (Öffentlich) team from /team info after /softreload
Dieser Commit ist enthalten in:
Ursprung
81ece47bb3
Commit
23cd9b2334
@ -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