Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
0f917ac4f6
Commit
0ff834a4d0
@ -94,6 +94,9 @@ public class SchematicNode {
|
|||||||
owner = set.getInt("NodeOwner");
|
owner = set.getInt("NodeOwner");
|
||||||
name = set.getString("NodeName");
|
name = set.getString("NodeName");
|
||||||
parent = set.getInt("ParentNode");
|
parent = set.getInt("ParentNode");
|
||||||
|
if(set.wasNull()) {
|
||||||
|
parent = null;
|
||||||
|
}
|
||||||
item = set.getString("NodeItem");
|
item = set.getString("NodeItem");
|
||||||
type = set.getString("NodeType");
|
type = set.getString("NodeType");
|
||||||
lastUpdate = set.getTimestamp("LastUpdate");
|
lastUpdate = set.getTimestamp("LastUpdate");
|
||||||
@ -417,6 +420,7 @@ public class SchematicNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SchematicNode getParentNode() {
|
public SchematicNode getParentNode() {
|
||||||
|
if(parent == null) return null;
|
||||||
return SchematicNode.getSchematicNode(parent);
|
return SchematicNode.getSchematicNode(parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren