diff --git a/src/de/steamwar/sql/Team.java b/src/de/steamwar/sql/Team.java index a5af6d8..dc94500 100644 --- a/src/de/steamwar/sql/Team.java +++ b/src/de/steamwar/sql/Team.java @@ -51,6 +51,8 @@ public class Team { private static final Team pub = new Team(0, "PUB", "Öffentlich", "8"); public static Team get(int id) { + if(id == -1) + return new Team(-1, "?", "?", "8"); if(id == 0) return pub; return select.select(id);