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