diff --git a/SchematicSystem_Main/pom.xml b/SchematicSystem_Main/pom.xml
index cae6f72..17cb6e0 100644
--- a/SchematicSystem_Main/pom.xml
+++ b/SchematicSystem_Main/pom.xml
@@ -19,6 +19,7 @@
jar
+ clean verify -U
src
diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java
index 527c23e..61b6aff 100644
--- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java
+++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/commands/SchematicCommand.java
@@ -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
}
-
}