forked from SteamWar/SteamWar
Add new changetype alias
This commit is contained in:
+3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user