Dieser Commit ist enthalten in:
Ursprung
f2f2a901e5
Commit
9c15c0ccfe
@ -48,7 +48,13 @@ public class NodeData {
|
||||
public static NodeData get(SchematicNode node) {
|
||||
if(node.isDir())
|
||||
throw new IllegalArgumentException("Node is a directory");
|
||||
return get.select(node);
|
||||
return get.select(rs -> {
|
||||
if(rs.next()) {
|
||||
return new NodeData(node.getId(), rs.getBoolean("NodeFormat"));
|
||||
} else {
|
||||
return new NodeData(node.getId(), false);
|
||||
}
|
||||
}, node);
|
||||
}
|
||||
|
||||
@Getter
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren