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