mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-28 05:05:14 +01:00
Fix failing test
Detailed description of a command must end in '.'
This commit is contained in:
parent
f265622a11
commit
7c36f087fc
@ -162,7 +162,7 @@ public final class CommandInitializer {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Register the setemail command
|
// Register the setemail command
|
||||||
CommandDescription setEmailCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new SetEmailCommand())
|
.executableCommand(new SetEmailCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("chgemail", "chgmail", "setemail", "setmail")
|
.labels("chgemail", "chgmail", "setemail", "setmail")
|
||||||
@ -174,7 +174,7 @@ public final class CommandInitializer {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Register the getip command
|
// Register the getip command
|
||||||
CommandDescription getIpCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new GetIpCommand())
|
.executableCommand(new GetIpCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("getip", "ip")
|
.labels("getip", "ip")
|
||||||
@ -186,18 +186,18 @@ public final class CommandInitializer {
|
|||||||
|
|
||||||
|
|
||||||
// Register the spawn command
|
// Register the spawn command
|
||||||
CommandDescription spawnCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new SpawnCommand())
|
.executableCommand(new SpawnCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("spawn", "home")
|
.labels("spawn", "home")
|
||||||
.description("Teleport to spawn")
|
.description("Teleport to spawn")
|
||||||
.detailedDescription("Teleport to the spawn")
|
.detailedDescription("Teleport to the spawn.")
|
||||||
.permissions(OP_ONLY, AdminPermission.SPAWN, AdminPermission.ALL)
|
.permissions(OP_ONLY, AdminPermission.SPAWN, AdminPermission.ALL)
|
||||||
.withArgument("player", "Player Name", false)
|
.withArgument("player", "Player Name", false)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Register the setspawn command
|
// Register the setspawn command
|
||||||
CommandDescription setSpawnCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new SetSpawnCommand())
|
.executableCommand(new SetSpawnCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("setspawn", "chgspawn")
|
.labels("setspawn", "chgspawn")
|
||||||
@ -207,7 +207,7 @@ public final class CommandInitializer {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Register the firstspawn command
|
// Register the firstspawn command
|
||||||
CommandDescription firstSpawnCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new FirstSpawnCommand())
|
.executableCommand(new FirstSpawnCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("firstspawn", "firsthome")
|
.labels("firstspawn", "firsthome")
|
||||||
@ -218,7 +218,7 @@ public final class CommandInitializer {
|
|||||||
|
|
||||||
|
|
||||||
// Register the setfirstspawn command
|
// Register the setfirstspawn command
|
||||||
CommandDescription setFirstSpawnCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new SetFirstSpawnCommand())
|
.executableCommand(new SetFirstSpawnCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("setfirstspawn", "chgfirstspawn")
|
.labels("setfirstspawn", "chgfirstspawn")
|
||||||
@ -228,7 +228,7 @@ public final class CommandInitializer {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Register the purge command
|
// Register the purge command
|
||||||
CommandDescription purgeCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new PurgeCommand())
|
.executableCommand(new PurgeCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("purge", "delete")
|
.labels("purge", "delete")
|
||||||
@ -239,7 +239,7 @@ public final class CommandInitializer {
|
|||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Register the purgelastposition command
|
// Register the purgelastposition command
|
||||||
CommandDescription purgeLastPositionCommand = CommandDescription.builder()
|
CommandDescription.builder()
|
||||||
.executableCommand(new PurgeLastPositionCommand())
|
.executableCommand(new PurgeLastPositionCommand())
|
||||||
.parent(AUTHME_BASE)
|
.parent(AUTHME_BASE)
|
||||||
.labels("resetpos", "purgelastposition", "purgelastpos", "resetposition", "resetlastposition", "resetlastpos")
|
.labels("resetpos", "purgelastposition", "purgelastpos", "resetposition", "resetlastposition", "resetlastpos")
|
||||||
|
Loading…
Reference in New Issue
Block a user