Fixed invalid permissions for login command

This commit is contained in:
Tim Visée 2015-11-01 19:18:00 +01:00
parent 9d386ed80a
commit bade9d5d5e

View File

@ -336,6 +336,7 @@ public class CommandManager {
}},
"Login command",
"Command to login using AuthMeReloaded.", null);
loginBaseCommand.setCommandPermissions("authme.login", CommandPermissions.DefaultPermission.ALLOWED);
loginBaseCommand.addArgument(new CommandArgumentDescription("password", "Login password", true));
// Add the base commands to the commands array