Schemnodes #56
@ -70,11 +70,12 @@ public class LockSchemCommand extends SWCommand {
|
||||
}
|
||||
SchematicNode schematic = SchematicNode.getNodeFromPath(schemOwner, schematicName);
|
||||
if (schematic == null) {
|
||||
BauSystem.MESSAGE.send("LOCK_SCHEM_DIR", p);
|
||||
BauSystem.MESSAGE.send("LOCK_SCHEM_NO_SCHEM", p);
|
||||
return;
|
||||
}
|
||||
|
||||
if(schematic.isDir()) {
|
||||
BauSystem.MESSAGE.send("LOCK_SCHEM_DIR", p);
|
||||
return;
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren