Schematic Nodes #90
@ -106,4 +106,12 @@ public class CheckedSchematic {
|
||||
public int getNode() {
|
||||
return node;
|
||||
}
|
||||
|
||||
public String getSchemName() {
|
||||
return SchematicNode.getSchematicNode(node).getName();
|
||||
}
|
||||
|
||||
public int getSchemOwner() {
|
||||
return SchematicNode.getSchematicNode(node).getId();
|
||||
}
|
||||
}
|
||||
|
@ -45,4 +45,8 @@ public class DownloadSchematic {
|
||||
SQL.update("INSERT INTO SchemDownload (SchemID, Link) VALUES (?, ?) ON DUPLICATE KEY UPDATE Link = VALUES(Link)", schem.getId(), hash);
|
||||
return BASE + hash;
|
||||
}
|
||||
|
||||
public static String getLink(Schematic schematic) {
|
||||
return getLink(SchematicNode.getSchematicNode(schematic.getSchemID()));
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren