mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 16:34:56 +01:00
Revert deprecation of registerCommand
i was going to make commands plugin specific but then decided against it
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user