fix test?

This commit is contained in:
Chayapak 2023-04-24 14:31:46 +07:00
parent 14fd220fbe
commit d9774d2d9e

View file

@ -36,7 +36,7 @@ public class TestCommand implements Command {
public Component execute(CommandContext context, String[] args, String[] fullArgs) {
final Component component = Component.translatable(
"Hello, World! Username: %s, Sender UUID: %s, Prefix: %s, Args: %s",
context.sender().profile().getName(),
Component.text(context.sender().profile().getName()),
Component.text(context.sender().profile().getIdAsString()),
Component.text(context.prefix()),
Component.text(String.join(", ", args))