Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
06546707
Commit
06546707
authored
Jun 03, 2022
by
AZthemute
Committed by
Melledy
Jun 03, 2022
Browse files
Fixed sendmessage command output.
Also clarified coop command in help command.
parent
66b642ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/SendMessageCommand.java
View file @
06546707
...
...
@@ -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
;
}
...
...
src/main/resources/languages/en-US.json
View file @
06546707
...
...
@@ -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>"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment