From 746ae701d8abf1534de14b57ae650ac76e9c4d9d Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 30 Nov 2022 14:22:50 +0100 Subject: [PATCH] Fix Event SchemType --- src/de/steamwar/sql/Event.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/sql/Event.java b/src/de/steamwar/sql/Event.java index b3f8f8c..a4c30e6 100644 --- a/src/de/steamwar/sql/Event.java +++ b/src/de/steamwar/sql/Event.java @@ -55,9 +55,8 @@ public class Event { @Getter @Field private final int maximumTeamMembers; - @Getter @Field(nullable = true) - private final SchematicType schematicType; + private final SchematicType schemType; @Field private final boolean publicSchemsOnly; @Field @@ -69,4 +68,8 @@ public class Event { public boolean spectateSystem(){ return spectateSystem; } + + public SchematicType getSchematicType() { + return schemType; + } }