mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Fixing file not found exception for FlatFile leaderboards
This commit is contained in:
parent
6f85e4506b
commit
bede658d94
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user