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
1b58ba25
Commit
1b58ba25
authored
Jun 22, 2022
by
Magix
Committed by
GitHub
Jun 22, 2022
Browse files
Revert deprecation of `registerCommand`
i was going to make commands plugin specific but then decided against it
parent
3c361b43
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/CommandMap.java
View file @
1b58ba25
...
@@ -33,7 +33,6 @@ public final class CommandMap {
...
@@ -33,7 +33,6 @@ public final class CommandMap {
* @param command The command handler.
* @param command The command handler.
* @return Instance chaining.
* @return Instance chaining.
*/
*/
@Deprecated
(
since
=
"1.2.1-dev"
)
public
CommandMap
registerCommand
(
String
label
,
CommandHandler
command
)
{
public
CommandMap
registerCommand
(
String
label
,
CommandHandler
command
)
{
Grasscutter
.
getLogger
().
debug
(
"Registered command: "
+
label
);
Grasscutter
.
getLogger
().
debug
(
"Registered command: "
+
label
);
...
...
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