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
eb899ccd
Commit
eb899ccd
authored
May 28, 2022
by
Luke H-W
Committed by
GitHub
May 28, 2022
Browse files
Fix setstats command feedback for targeting others (#1079)
Co-authored-by:
AnimeGitB
<
AnimeGitB@bigblueball.in
>
parent
cb3f3b92
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/SetStatsCommand.java
View file @
eb899ccd
...
@@ -215,7 +215,7 @@ public final class SetStatsCommand implements CommandHandler {
...
@@ -215,7 +215,7 @@ public final class SetStatsCommand implements CommandHandler {
CommandHandler
.
sendMessage
(
sender
,
translate
(
sender
,
"commands.setStats.set_self"
,
stat
.
name
,
valueStr
));
CommandHandler
.
sendMessage
(
sender
,
translate
(
sender
,
"commands.setStats.set_self"
,
stat
.
name
,
valueStr
));
}
else
{
}
else
{
String
uidStr
=
targetPlayer
.
getAccount
().
getId
();
String
uidStr
=
targetPlayer
.
getAccount
().
getId
();
CommandHandler
.
sendMessage
(
sender
,
translate
(
sender
,
"commands.setStats.set_
self
"
,
stat
.
name
,
uidStr
,
valueStr
));
CommandHandler
.
sendMessage
(
sender
,
translate
(
sender
,
"commands.setStats.set_
for_uid
"
,
stat
.
name
,
uidStr
,
valueStr
));
}
}
}
else
{
}
else
{
CommandHandler
.
sendMessage
(
sender
,
usage
);
CommandHandler
.
sendMessage
(
sender
,
usage
);
...
...
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