Schemnodes Schematic System #93
@ -19,6 +19,7 @@
|
|||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<defaultGoal>clean verify -U</defaultGoal>
|
||||||
<sourceDirectory>src</sourceDirectory>
|
<sourceDirectory>src</sourceDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
|
@ -671,6 +671,9 @@ public class SchematicCommand extends SWCommand {
|
|||||||
if (nodes.isEmpty()) {
|
if (nodes.isEmpty()) {
|
||||||
currentNode = SchematicNode.createSchematicDirectory(user.getId(), layers[i], currentNode == null ? 0 : currentNode.getId());
|
currentNode = SchematicNode.createSchematicDirectory(user.getId(), layers[i], currentNode == null ? 0 : currentNode.getId());
|
||||||
} else {
|
} else {
|
||||||
|
if (!nodes.get(0).isDir()) {
|
||||||
|
nodes.set(0, SchematicNode.createSchematicDirectory(user.getId(), layers[i] + "-dir-" + System.currentTimeMillis() % 100, currentNode == null ? 0 : currentNode.getId()));
|
||||||
|
}
|
||||||
currentNode = nodes.get(0);
|
currentNode = nodes.get(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -890,5 +893,4 @@ public class SchematicCommand extends SWCommand {
|
|||||||
AUSFAHREN,
|
AUSFAHREN,
|
||||||
NORMAL
|
NORMAL
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren