From bfbb017c8facc04c9101688a718251f833dcd13f Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Fri, 5 Sep 2025 07:48:28 +0200 Subject: [PATCH] Remove lockreplay ModifyPart --- .../commands/schematiccommand/parts/ModifyPart.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ModifyPart.java b/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ModifyPart.java index bc1e89c6..ab699d28 100644 --- a/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ModifyPart.java +++ b/SchematicSystem/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/schematiccommand/parts/ModifyPart.java @@ -26,8 +26,8 @@ import de.steamwar.schematicsystem.CheckSchemType; import de.steamwar.schematicsystem.SafeSchematicNode; import de.steamwar.schematicsystem.SchematicSystem; import de.steamwar.schematicsystem.autocheck.AutoChecker; -import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommandUtils; import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommand; +import de.steamwar.schematicsystem.commands.schematiccommand.SchematicCommandUtils; import de.steamwar.sql.*; import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.chat.ClickEvent; @@ -174,12 +174,6 @@ public class ModifyPart extends SWCommand { } } - @Register("lockreplay") - public void lockreplay(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) { - node.setAllowReplay(false); - SchematicSystem.MESSAGE.send("COMMAND_LOCKREPLAY", player, node.getName()); - } - @Register("replacecolor") public void replacecolor(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) { boolean state = !node.replaceColor();