diff --git a/src/de/steamwar/bungeecore/sql/Team.java b/src/de/steamwar/bungeecore/sql/Team.java index e32049b0..b44feb29 100644 --- a/src/de/steamwar/bungeecore/sql/Team.java +++ b/src/de/steamwar/bungeecore/sql/Team.java @@ -43,7 +43,9 @@ public class Team { teamKuerzel = kuerzel; teamName = name; teamLeader = leader; - teamCache.add(this); + if (leader != 0) { + teamCache.add(this); + } } private Team(ResultSet rs) throws SQLException {