From e4864e6eaf2beabc27f13ccd2255a7aa60184d8a Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 29 Jun 2025 20:11:36 +0200 Subject: [PATCH] Add new changetype alias --- .../commands/schematiccommand/parts/ModifyPart.java | 3 +++ 1 file changed, 3 insertions(+) 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 cee2cbc3..bc1e89c6 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 @@ -46,6 +46,7 @@ public class ModifyPart extends SWCommand { } @Register("changetype") + @Register("submit") public void changeType(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node) { TextComponent base = new TextComponent(); @@ -74,11 +75,13 @@ public class ModifyPart extends SWCommand { } @Register("changetype") + @Register("submit") public void changeType(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node, SchematicType type) { changeType(player, node, type, null); } @Register("changetype") + @Register("submit") public void changeType(Player player, @Validator("isOwnerSchematicValidator") SchematicNode node, SchematicType type, SchematicCommand.Extend extend) { SchematicCommandUtils.changeType(player, node, type, extend); }