Explorar o código

Fixing small mistake with grabbing offline profiles

nossr50 %!s(int64=13) %!d(string=hai) anos
pai
achega
7d70edc0ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/gmail/nossr50/Users.java

+ 1 - 1
src/main/java/com/gmail/nossr50/Users.java

@@ -125,7 +125,7 @@ public class Users {
      * @return the player's profile
      */
     public static PlayerProfile getOfflineProfile(String playerName) {
-        return new PlayerProfile(playerName.toLowerCase(), false);
+        return new PlayerProfile(playerName, false);
     }
 
     /**