Fix Build, my bad, sorry

This commit is contained in:
Xephi 2015-12-06 05:30:28 +01:00
parent 06b7ad88d5
commit 9236c1fb12

View File

@ -285,9 +285,9 @@ public final class CommandInitializer {
// Register the reload command // Register the reload command
CommandDescription reloadCommand = CommandDescription.builder() CommandDescription reloadCommand = CommandDescription.builder()
.executableCommand(new PurgeLastPositionCommand()) .executableCommand(new ReloadCommand())
.parent(AUTHME_BASE) .parent(AUTHME_BASE)
.labels("reload", "reload") .labels("reload", "rld")
.description("Reload plugin") .description("Reload plugin")
.detailedDescription("Reload the AutheMeReloaded plugin.") .detailedDescription("Reload the AutheMeReloaded plugin.")
.permissions(OP_ONLY, AdminPermission.RELOAD) .permissions(OP_ONLY, AdminPermission.RELOAD)
@ -321,7 +321,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View Help") .description("View Help")
.detailedDescription("View detailed help pages about AuthMeReloaded login commands.") .detailedDescription("View detailed help pages about AuthMeReloaded login commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -342,7 +341,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded logout commands.") .detailedDescription("View detailed help pages about AuthMeReloaded logout commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -365,7 +363,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded register commands.") .detailedDescription("View detailed help pages about AuthMeReloaded register commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -387,7 +384,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded unregister commands.") .detailedDescription("View detailed help pages about AuthMeReloaded unregister commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -410,7 +406,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded changepassword commands.") .detailedDescription("View detailed help pages about AuthMeReloaded changepassword commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -421,7 +416,6 @@ public final class CommandInitializer {
.labels("email", "mail") .labels("email", "mail")
.description("Email command") .description("Email command")
.detailedDescription("The AuthMeReloaded Email command base.") .detailedDescription("The AuthMeReloaded Email command base.")
.permissions(ALLOWED)
.build(); .build();
// Register the help command // Register the help command
@ -431,7 +425,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded email commands.") .detailedDescription("View detailed help pages about AuthMeReloaded email commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -489,7 +482,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded captcha commands.") .detailedDescription("View detailed help pages about AuthMeReloaded captcha commands.")
.permissions(ALLOWED)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();
@ -511,7 +503,6 @@ public final class CommandInitializer {
.labels(helpCommandLabels) .labels(helpCommandLabels)
.description("View help") .description("View help")
.detailedDescription("View detailed help pages about AuthMeReloaded converter commands.") .detailedDescription("View detailed help pages about AuthMeReloaded converter commands.")
.permissions(OP_ONLY)
.withArgument("query", "The command or query to view help for.", true) .withArgument("query", "The command or query to view help for.", true)
.build(); .build();