diff --git a/src/main/java/com/jaoafa/mymaid4/command/Cmd_Chat.java b/src/main/java/com/jaoafa/mymaid4/command/Cmd_Chat.java index f804cc877..3683a44c0 100644 --- a/src/main/java/com/jaoafa/mymaid4/command/Cmd_Chat.java +++ b/src/main/java/com/jaoafa/mymaid4/command/Cmd_Chat.java @@ -1,7 +1,7 @@ /* * jaoLicense * - * Copyright (c) 2021 jao Minecraft Server + * Copyright (c) 2022 jao Minecraft Server * * The following license applies to this project: jaoLicense * @@ -43,7 +43,7 @@ public MyMaidCommand.Cmd register(Command.Builder builder) { return new MyMaidCommand.Cmd( builder .meta(CommandMeta.DESCRIPTION, "偽のプレイヤーに喋らせます。") - .argument(StringArgument.single("player"), ArgumentDescription.of("喋らせるプレイヤー名")) + .argument(StringArgument.quoted("player"), ArgumentDescription.of("喋らせるプレイヤー名")) .argument(StringArgument.greedy("message"), ArgumentDescription.of("喋らせるメッセージ")) .handler(this::chatFake) .build()