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
f6ce7e34
Unverified
Commit
f6ce7e34
authored
Oct 04, 2022
by
Luke H-W
Committed by
GitHub
Oct 04, 2022
Browse files
Add `shutdown` alias to StopCommand
parent
96031865
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/StopCommand.java
View file @
f6ce7e34
...
...
@@ -9,7 +9,7 @@ import java.util.List;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
@Command
(
label
=
"stop"
,
permission
=
"server.stop"
,
targetRequirement
=
Command
.
TargetRequirement
.
NONE
)
@Command
(
label
=
"stop"
,
aliases
=
{
"shutdown"
},
permission
=
"server.stop"
,
targetRequirement
=
Command
.
TargetRequirement
.
NONE
)
public
final
class
StopCommand
implements
CommandHandler
{
@Override
...
...
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