diff --git a/src/de/steamwar/sql/Referee.java b/src/de/steamwar/sql/Referee.java index 2f606a9..281ad30 100644 --- a/src/de/steamwar/sql/Referee.java +++ b/src/de/steamwar/sql/Referee.java @@ -31,7 +31,7 @@ import java.util.stream.Collectors; public class Referee { private static final Table table = new Table<>(Referee.class); - private static final SelectStatement byEvent = table.select("eventID"); + private static final SelectStatement byEvent = table.selectFields("eventID"); public static Set get(int eventID) { return byEvent.listSelect(eventID).stream().map(referee -> referee.userID).collect(Collectors.toSet());