Add Schematic Translation Layer
Dieser Commit ist enthalten in:
Ursprung
c274c5e1d0
Commit
4b4d5f92bf
@ -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