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
496cd671
Unverified
Commit
496cd671
authored
Oct 24, 2022
by
TotalyNotOndre
Committed by
GitHub
Oct 24, 2022
Browse files
add Quest command alias (#1891)
parent
fd6ed2f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/QuestCommand.java
View file @
496cd671
...
@@ -9,7 +9,11 @@ import java.util.List;
...
@@ -9,7 +9,11 @@ import java.util.List;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
@Command
(
label
=
"quest"
,
usage
=
{
"(add|finish) [<questId>]"
},
permission
=
"player.quest"
,
permissionTargeted
=
"player.quest.others"
)
@Command
(
label
=
"quest"
,
aliases
=
{
"q"
},
usage
=
{
"(add|finish) [<questId>]"
},
permission
=
"player.quest"
,
permissionTargeted
=
"player.quest.others"
)
public
final
class
QuestCommand
implements
CommandHandler
{
public
final
class
QuestCommand
implements
CommandHandler
{
@Override
@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