Fixing file not found exception for FlatFile leaderboards

This commit is contained in:
nossr50 2012-04-26 19:36:28 -07:00
parent 6f85e4506b
commit bede658d94

View File

@ -209,7 +209,7 @@ public class Leaderboard {
* @return the requested leaderboard information
*/
public static String[] retrieveInfo(String skillName, int pagenumber) {
String theLocation = leaderboardsDirectory + skillName + ".mcmmo";
String theLocation = leaderboardsDirectory + skillName.toLowerCase() + ".mcmmo";
try {
FileReader file = new FileReader(theLocation);