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
dc6702eb
Commit
dc6702eb
authored
Apr 25, 2022
by
xtaodada
Committed by
Melledy
Apr 25, 2022
Browse files
Add a new alias to the command `killcharacter`
parent
00a40a84
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/KillCharacterCommand.java
View file @
dc6702eb
...
@@ -12,7 +12,7 @@ import emu.grasscutter.server.packet.send.PacketLifeStateChangeNotify;
...
@@ -12,7 +12,7 @@ import emu.grasscutter.server.packet.send.PacketLifeStateChangeNotify;
import
java.util.List
;
import
java.util.List
;
@Command
(
label
=
"killcharacter"
,
usage
=
"killcharacter [playerId]"
,
aliases
=
{
"suicide"
},
@Command
(
label
=
"killcharacter"
,
usage
=
"killcharacter [playerId]"
,
aliases
=
{
"suicide"
,
"kill"
},
description
=
"Directly kill a player's current active character"
,
permission
=
"player.killcharacter"
)
description
=
"Directly kill a player's current active character"
,
permission
=
"player.killcharacter"
)
public
final
class
KillCharacterCommand
implements
CommandHandler
{
public
final
class
KillCharacterCommand
implements
CommandHandler
{
...
...
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