Minor - mark password confirmation as optional for /register

This commit is contained in:
ljacqu 2015-12-23 12:39:48 +01:00
parent 1d21333c94
commit 857042ba5f

View File

@ -338,7 +338,7 @@ public final class CommandInitializer {
.description("Registration command") .description("Registration command")
.detailedDescription("Command to register using AuthMeReloaded.") .detailedDescription("Command to register using AuthMeReloaded.")
.withArgument("password", "Password", false) .withArgument("password", "Password", false)
.withArgument("verifyPassword", "Verify password", false) .withArgument("verifyPassword", "Verify password", true)
.permissions(ALLOWED, PlayerPermission.REGISTER) .permissions(ALLOWED, PlayerPermission.REGISTER)
.executableCommand(new RegisterCommand()) .executableCommand(new RegisterCommand())
.build(); .build();