Fixed invalid login command label

This commit is contained in:
Tim Visée 2015-11-01 19:15:56 +01:00
parent 6e222c1bc9
commit 9d386ed80a
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package fr.xephi.authme.command;
import fr.xephi.authme.AuthMe;
import fr.xephi.authme.command.help.HelpProvider;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
@ -100,7 +101,7 @@ public class CommandHandler {
// Get a suitable command for this reference, and make sure it isn't null
FoundCommandResult result = this.commandManager.findCommand(commandReference);
if(result == null) {
sender.sendMessage(ChatColor.DARK_RED + "Failed to parse Dungeon Maze command!");
sender.sendMessage(ChatColor.DARK_RED + "Failed to parse " + AuthMe.PLUGIN_NAME + " command!");
return false;
}

View File

@ -332,7 +332,7 @@ public class CommandManager {
CommandDescription loginBaseCommand = new CommandDescription(
new LoginCommand(),
new ArrayList<String>() {{
add("authme");
add("login");
}},
"Login command",
"Command to login using AuthMeReloaded.", null);