Fixed sendmessage command output.

Also clarified coop command in help command.
This commit is contained in:
AZthemute 2022-06-03 18:20:10 +01:00 committed by Melledy
parent 8b6da510dc
commit 40bb4daa38
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ public final class SendMessageCommand implements CommandHandler {
@Override
public void execute(Player sender, Player targetPlayer, List<String> args) {
if (args.size() == 0) {
CommandHandler.sendMessage(null, translate(sender, "commands.sendMessage.usage"));
CommandHandler.sendMessage(sender, translate(sender, "commands.sendMessage.usage"));
return;
}

View File

@ -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 <dungeonID>",