diff --git a/src/de/steamwar/sql/Event.java b/src/de/steamwar/sql/Event.java index 7985232..a853e13 100644 --- a/src/de/steamwar/sql/Event.java +++ b/src/de/steamwar/sql/Event.java @@ -32,6 +32,10 @@ import java.util.List; @AllArgsConstructor public class Event { + static { + SchematicType.Normal.name(); // Ensure SchematicType is loaded. + } + private static final Table table = new Table<>(Event.class); private static final SelectStatement byCurrent = new SelectStatement<>(table, "SELECT * FROM Event WHERE Start < now() AND End > now()");