From ab50b32f60141647f049abc3940473ad887debe9 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Thu, 22 Mar 2012 14:19:35 -0700 Subject: [PATCH] We don't want to pass a lowercase playerName to new PlayerProfiles yet... --- src/main/java/com/gmail/nossr50/Users.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/Users.java b/src/main/java/com/gmail/nossr50/Users.java index 9f84c7f86..b1afc1d8f 100644 --- a/src/main/java/com/gmail/nossr50/Users.java +++ b/src/main/java/com/gmail/nossr50/Users.java @@ -43,7 +43,7 @@ public class Users { */ public static void addUser(Player player) { if (!players.containsKey(player.getName().toLowerCase())) { - players.put(player.getName().toLowerCase(), new PlayerProfile(player.getName().toLowerCase())); + players.put(player.getName().toLowerCase(), new PlayerProfile(player.getName())); } } @@ -97,7 +97,7 @@ public class Users { return players.get(player.getName().toLowerCase()); } else { - players.put(player.getName().toLowerCase(), new PlayerProfile(player.getName().toLowerCase())); + players.put(player.getName().toLowerCase(), new PlayerProfile(player.getName())); return players.get(player.getName().toLowerCase()); } } @@ -113,7 +113,7 @@ public class Users { return players.get(playerName.toLowerCase()); } else { - players.put(playerName.toLowerCase(), new PlayerProfile(playerName.toLowerCase())); + players.put(playerName.toLowerCase(), new PlayerProfile(playerName)); return players.get(playerName.toLowerCase()); } }