Fixed invalid command references

This commit is contained in:
Tim Visée 2015-11-01 21:46:13 +01:00
parent dc0129d980
commit ffd6d8e525

View File

@ -2,7 +2,9 @@ package fr.xephi.authme.command;
import fr.xephi.authme.command.executable.*; import fr.xephi.authme.command.executable.*;
import fr.xephi.authme.command.executable.authme.*; import fr.xephi.authme.command.executable.authme.*;
import fr.xephi.authme.command.executable.captcha.CaptchaCommand;
import fr.xephi.authme.command.executable.changepassword.ChangePasswordCommand; import fr.xephi.authme.command.executable.changepassword.ChangePasswordCommand;
import fr.xephi.authme.command.executable.converter.ConverterCommand;
import fr.xephi.authme.command.executable.email.AddEmailCommand; import fr.xephi.authme.command.executable.email.AddEmailCommand;
import fr.xephi.authme.command.executable.email.ChangeEmailCommand; import fr.xephi.authme.command.executable.email.ChangeEmailCommand;
import fr.xephi.authme.command.executable.email.RecoverEmailCommand; import fr.xephi.authme.command.executable.email.RecoverEmailCommand;
@ -418,7 +420,7 @@ public class CommandManager {
// Register the base unregister command // Register the base unregister command
CommandDescription unregisterBaseCommand = new CommandDescription( CommandDescription unregisterBaseCommand = new CommandDescription(
new RegisterCommand(), new UnregisterCommand(),
new ArrayList<String>() {{ new ArrayList<String>() {{
add("unregister"); add("unregister");
add("unreg"); add("unreg");
@ -548,7 +550,7 @@ public class CommandManager {
// Register the base captcha command // Register the base captcha command
CommandDescription captchaBaseCommand = new CommandDescription( CommandDescription captchaBaseCommand = new CommandDescription(
new ChangePasswordCommand(), new CaptchaCommand(),
new ArrayList<String>() {{ new ArrayList<String>() {{
add("captcha"); add("captcha");
add("capt"); add("capt");
@ -577,7 +579,7 @@ public class CommandManager {
// Register the base converter command // Register the base converter command
CommandDescription converterBaseCommand = new CommandDescription( CommandDescription converterBaseCommand = new CommandDescription(
new ChangePasswordCommand(), new ConverterCommand(),
new ArrayList<String>() {{ new ArrayList<String>() {{
add("convert"); add("convert");
add("converter"); add("converter");