Merge pull request 'Fix Schematic Creation' (#131) from node_fixes into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Reviewed-on: #131
Dieser Commit ist enthalten in:
Commit
e3559cc07a
@ -77,7 +77,7 @@ public class SchematicNode {
|
||||
}
|
||||
|
||||
public static SchematicNode createSchematicNode(int owner, String name, Integer parent, String type, String item) {
|
||||
if (parent == 0)
|
||||
if (parent != null && parent == 0)
|
||||
parent = null;
|
||||
createNode.update(name, owner, parent, type, item);
|
||||
return getSchematicNode(owner, name, parent);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren