From 1e0d31ebb721a5a918310e69a76e47c75f00ee5c Mon Sep 17 00:00:00 2001 From: DNx Date: Thu, 3 Mar 2016 11:11:56 +0700 Subject: [PATCH] Don't lowercase the real name, also.. the password. Fix #578 --- .../command/executable/authme/RegisterAdminCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java b/src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java index 7b9299526..a33f3eb39 100644 --- a/src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java +++ b/src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java @@ -22,8 +22,8 @@ public class RegisterAdminCommand implements ExecutableCommand { public void executeCommand(final CommandSender sender, List arguments, final CommandService commandService) { // Get the player name and password - final String playerName = arguments.get(0).toLowerCase(); - final String playerPass = arguments.get(1).toLowerCase(); + final String playerName = arguments.get(0); + final String playerPass = arguments.get(1); final String playerNameLowerCase = playerName.toLowerCase(); final String playerPassLowerCase = playerPass.toLowerCase();