fix replace command argument order

This commit is contained in:
2025-02-03 21:19:26 +01:00
parent b3e4353486
commit a2b51f1b93
@@ -333,7 +333,6 @@ public class BlockEditCommands {
}) })
.then( .then(
Commands.argument("to_replace", ArgumentTypes.blockState()) Commands.argument("to_replace", ArgumentTypes.blockState())
)
.then( .then(
Commands.argument("replace_with", ArgumentTypes.blockState()) Commands.argument("replace_with", ArgumentTypes.blockState())
.executes(ctx -> { .executes(ctx -> {
@@ -369,6 +368,8 @@ public class BlockEditCommands {
}) })
) )
) )
)
.build(); .build();
} }