Update CacheDataSource.java

This commit is contained in:
Alexandre Vanhecke 2015-05-28 22:28:52 +02:00
parent bb8ac05df2
commit b75adf6a98

View File

@ -23,7 +23,7 @@ public class CacheDataSource extends Thread implements DataSource {
* but it will be much easier to check for an isAuthAvailable ! * but it will be much easier to check for an isAuthAvailable !
*/ */
for(PlayerAuth auth : source.getAllAuths()) for(PlayerAuth auth : source.getAllAuths())
cache.put(auth.getNickname(), auth); cache.put(auth.getNickname().toLowerCase(), auth);
} }
public void run() public void run()