diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/team/LockSchemCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/team/LockSchemCommand.java index a06aef53..d7cbe22d 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/team/LockSchemCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/team/LockSchemCommand.java @@ -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; }