From 40bb4daa38f82201f4022b7c6ffe8d9523f011f3 Mon Sep 17 00:00:00 2001 From: AZthemute <104761702+AZthemute@users.noreply.github.com> Date: Fri, 3 Jun 2022 18:20:10 +0100 Subject: [PATCH] Fixed sendmessage command output. Also clarified coop command in help command. --- .../emu/grasscutter/command/commands/SendMessageCommand.java | 2 +- src/main/resources/languages/en-US.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emu/grasscutter/command/commands/SendMessageCommand.java b/src/main/java/emu/grasscutter/command/commands/SendMessageCommand.java index bb4272751..d8051f7c7 100644 --- a/src/main/java/emu/grasscutter/command/commands/SendMessageCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/SendMessageCommand.java @@ -15,7 +15,7 @@ public final class SendMessageCommand implements CommandHandler { @Override public void execute(Player sender, Player targetPlayer, List args) { if (args.size() == 0) { - CommandHandler.sendMessage(null, translate(sender, "commands.sendMessage.usage")); + CommandHandler.sendMessage(sender, translate(sender, "commands.sendMessage.usage")); return; } diff --git a/src/main/resources/languages/en-US.json b/src/main/resources/languages/en-US.json index 8097ae424..f6f1ae011 100644 --- a/src/main/resources/languages/en-US.json +++ b/src/main/resources/languages/en-US.json @@ -136,7 +136,7 @@ "coop": { "usage": "Usage: coop [host UID]", "success": "Summoned %s to %s's world.", - "description": "Forces someone to join the world of others" + "description": "Forces someone to join the world of others. If no one is targeted, it sends you into co-op mode anyway." }, "enter_dungeon": { "usage": "Usage: enterdungeon ",