Fix loading order
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-05-03 17:52:21 +02:00
Ursprung 229f74991e
Commit 97c38b64b3

Datei anzeigen

@ -20,9 +20,7 @@
package de.steamwar.sql;
import de.steamwar.sql.internal.*;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import java.sql.Timestamp;
import java.time.Instant;
@ -32,6 +30,7 @@ import java.util.function.Predicate;
public class SchematicNode {
static {
SchematicType.Normal.name(); // Ensure SchematicType is loaded.
new SqlTypeMapper<>(SchematicNode.class, null, (rs, identifier) -> { throw new SecurityException("SchematicNode cannot be used as type (recursive select)"); }, (st, index, value) -> st.setInt(index, value.nodeId));
}