mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-30 09:32:52 +00:00
Fixed sendmessage command output.
Also clarified coop command in help command.
This commit is contained in:
parent
8b6da510dc
commit
40bb4daa38
@ -15,7 +15,7 @@ public final class SendMessageCommand implements CommandHandler {
|
|||||||
@Override
|
@Override
|
||||||
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
||||||
if (args.size() == 0) {
|
if (args.size() == 0) {
|
||||||
CommandHandler.sendMessage(null, translate(sender, "commands.sendMessage.usage"));
|
CommandHandler.sendMessage(sender, translate(sender, "commands.sendMessage.usage"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@
|
|||||||
"coop": {
|
"coop": {
|
||||||
"usage": "Usage: coop [host UID]",
|
"usage": "Usage: coop [host UID]",
|
||||||
"success": "Summoned %s to %s's world.",
|
"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": {
|
"enter_dungeon": {
|
||||||
"usage": "Usage: enterdungeon <dungeonID>",
|
"usage": "Usage: enterdungeon <dungeonID>",
|
||||||
|
Loading…
Reference in New Issue
Block a user