diff --git a/docs/commands.md b/docs/commands.md
index 2e5743f09..7e4bd7ed5 100644
--- a/docs/commands.md
+++ b/docs/commands.md
@@ -1,5 +1,5 @@
-
+
## AuthMe Commands
You can use the following commands to use the features of AuthMe. Mandatory arguments are marked with `< >`
@@ -47,13 +47,27 @@ brackets; optional arguments are enclosed in square brackets (`[ ]`).
- **/authme reload**: Reload the AuthMeReloaded plugin.
Requires `authme.admin.reload`
- **/authme version**: Show detailed information about the installed AuthMeReloaded version, the developers, contributors, and license.
-- **/authme converter** <job>: Converter command for AuthMeReloaded.
+- **/authme converter** [job]: Converter command for AuthMeReloaded.
Requires `authme.admin.converter`
- **/authme messages**: Adds missing messages to the current messages file.
Requires `authme.admin.updatemessages`
- **/authme debug** [child] [arg] [arg]: Allows various operations for debugging.
Requires `authme.debug.command`
- **/authme help** [query]: View detailed help for /authme commands.
+- **/email**: The AuthMeReloaded email command base.
+- **/email show**: Show your current email address.
+
Requires `authme.player.email.see`
+- **/email add** <email> <verifyEmail>: Add a new email address to your account.
+
Requires `authme.player.email.add`
+- **/email change** <oldEmail> <newEmail>: Change an email address of your account.
+
Requires `authme.player.email.change`
+- **/email recover** <email>: Recover your account using an Email address by sending a mail containing a new password.
+
Requires `authme.player.email.recover`
+- **/email code** <code>: Recover your account by submitting a code delivered to your email.
+
Requires `authme.player.email.recover`
+- **/email setpassword** <password>: Set a new password after successfully recovering your account.
+
Requires `authme.player.email.recover`
+- **/email help** [query]: View detailed help for /email commands.
- **/login** <password>: Command to log in using AuthMeReloaded.
Requires `authme.player.login`
- **/login help** [query]: View detailed help for /login commands.
@@ -69,19 +83,6 @@ brackets; optional arguments are enclosed in square brackets (`[ ]`).
- **/changepassword** <oldPassword> <newPassword>: Command to change your password using AuthMeReloaded.
Requires `authme.player.changepassword`
- **/changepassword help** [query]: View detailed help for /changepassword commands.
-- **/email**: The AuthMeReloaded email command base.
-- **/email show**: Show your current email address.
-- **/email add** <email> <verifyEmail>: Add a new email address to your account.
-
Requires `authme.player.email.add`
-- **/email change** <oldEmail> <newEmail>: Change an email address of your account.
-
Requires `authme.player.email.change`
-- **/email recover** <email>: Recover your account using an Email address by sending a mail containing a new password.
-
Requires `authme.player.email.recover`
-- **/email code** <code>: Recover your account by submitting a code delivered to your email.
-
Requires `authme.player.email.recover`
-- **/email setpassword** <password>: Set a new password after successfully recovering your account.
-
Requires `authme.player.email.recover`
-- **/email help** [query]: View detailed help for /email commands.
- **/captcha** <captcha>: Captcha command for AuthMeReloaded.
Requires `authme.player.captcha`
- **/captcha help** [query]: View detailed help for /captcha commands.
@@ -89,4 +90,4 @@ brackets; optional arguments are enclosed in square brackets (`[ ]`).
---
-This page was automatically generated on the [AuthMe/AuthMeReloaded repository](https://github.com/AuthMe/AuthMeReloaded/tree/master/docs/) on Sat Apr 29 18:27:38 CEST 2017
+This page was automatically generated on the [AuthMe/AuthMeReloaded repository](https://github.com/AuthMe/AuthMeReloaded/tree/master/docs/) on Fri Aug 11 04:37:25 CEST 2017
diff --git a/src/main/java/fr/xephi/authme/command/executable/email/ShowEmailCommand.java b/src/main/java/fr/xephi/authme/command/executable/email/ShowEmailCommand.java
index 770904445..08b8c9b45 100644
--- a/src/main/java/fr/xephi/authme/command/executable/email/ShowEmailCommand.java
+++ b/src/main/java/fr/xephi/authme/command/executable/email/ShowEmailCommand.java
@@ -37,7 +37,7 @@ public class ShowEmailCommand extends PlayerCommand {
int sid = frag[0].length() / 3 + 1; //Define the id view
int sdomain = frag[1].length() / 3 + 1; //Define the domain view
String id = frag[0].substring(0, sid) + "*****"; //Build the id
- String domain = "***" + frag[1].substring(sdomain, frag[1].length()); //Build the domain
+ String domain = "***" + frag[1].substring(sdomain); //Build the domain
return id + "@" + domain;
}
}