From c6b79bc64afde3b7274b6014f8d6dd97feb1cadc Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 4 Dec 2021 22:11:46 +0100 Subject: [PATCH] Fix Message --- .../de/steamwar/bausystem/features/team/LockSchemCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }