mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 20:57:35 +01:00
Fixed invalid login command label
This commit is contained in:
parent
6e222c1bc9
commit
9d386ed80a
@ -1,5 +1,6 @@
|
|||||||
package fr.xephi.authme.command;
|
package fr.xephi.authme.command;
|
||||||
|
|
||||||
|
import fr.xephi.authme.AuthMe;
|
||||||
import fr.xephi.authme.command.help.HelpProvider;
|
import fr.xephi.authme.command.help.HelpProvider;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.command.CommandSender;
|
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
|
// Get a suitable command for this reference, and make sure it isn't null
|
||||||
FoundCommandResult result = this.commandManager.findCommand(commandReference);
|
FoundCommandResult result = this.commandManager.findCommand(commandReference);
|
||||||
if(result == null) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -332,7 +332,7 @@ public class CommandManager {
|
|||||||
CommandDescription loginBaseCommand = new CommandDescription(
|
CommandDescription loginBaseCommand = new CommandDescription(
|
||||||
new LoginCommand(),
|
new LoginCommand(),
|
||||||
new ArrayList<String>() {{
|
new ArrayList<String>() {{
|
||||||
add("authme");
|
add("login");
|
||||||
}},
|
}},
|
||||||
"Login command",
|
"Login command",
|
||||||
"Command to login using AuthMeReloaded.", null);
|
"Command to login using AuthMeReloaded.", null);
|
||||||
|
Loading…
Reference in New Issue
Block a user