From 7c36f087fc13ef91bde403b8f31ea8ccde50cf6e Mon Sep 17 00:00:00 2001 From: ljacqu Date: Sat, 5 Dec 2015 21:04:14 +0100 Subject: [PATCH] Fix failing test Detailed description of a command must end in '.' --- .../authme/command/CommandInitializer.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/fr/xephi/authme/command/CommandInitializer.java b/src/main/java/fr/xephi/authme/command/CommandInitializer.java index f1765add5..a92482f53 100644 --- a/src/main/java/fr/xephi/authme/command/CommandInitializer.java +++ b/src/main/java/fr/xephi/authme/command/CommandInitializer.java @@ -162,7 +162,7 @@ public final class CommandInitializer { .build(); // Register the setemail command - CommandDescription setEmailCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new SetEmailCommand()) .parent(AUTHME_BASE) .labels("chgemail", "chgmail", "setemail", "setmail") @@ -174,7 +174,7 @@ public final class CommandInitializer { .build(); // Register the getip command - CommandDescription getIpCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new GetIpCommand()) .parent(AUTHME_BASE) .labels("getip", "ip") @@ -186,18 +186,18 @@ public final class CommandInitializer { // Register the spawn command - CommandDescription spawnCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new SpawnCommand()) .parent(AUTHME_BASE) .labels("spawn", "home") .description("Teleport to spawn") - .detailedDescription("Teleport to the spawn") + .detailedDescription("Teleport to the spawn.") .permissions(OP_ONLY, AdminPermission.SPAWN, AdminPermission.ALL) .withArgument("player", "Player Name", false) .build(); // Register the setspawn command - CommandDescription setSpawnCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new SetSpawnCommand()) .parent(AUTHME_BASE) .labels("setspawn", "chgspawn") @@ -207,7 +207,7 @@ public final class CommandInitializer { .build(); // Register the firstspawn command - CommandDescription firstSpawnCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new FirstSpawnCommand()) .parent(AUTHME_BASE) .labels("firstspawn", "firsthome") @@ -218,7 +218,7 @@ public final class CommandInitializer { // Register the setfirstspawn command - CommandDescription setFirstSpawnCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new SetFirstSpawnCommand()) .parent(AUTHME_BASE) .labels("setfirstspawn", "chgfirstspawn") @@ -228,7 +228,7 @@ public final class CommandInitializer { .build(); // Register the purge command - CommandDescription purgeCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new PurgeCommand()) .parent(AUTHME_BASE) .labels("purge", "delete") @@ -239,7 +239,7 @@ public final class CommandInitializer { .build(); // Register the purgelastposition command - CommandDescription purgeLastPositionCommand = CommandDescription.builder() + CommandDescription.builder() .executableCommand(new PurgeLastPositionCommand()) .parent(AUTHME_BASE) .labels("resetpos", "purgelastposition", "purgelastpos", "resetposition", "resetlastposition", "resetlastpos")