mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06: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
|
* @return the requested leaderboard information
|
||||||
*/
|
*/
|
||||||
public static String[] retrieveInfo(String skillName, int pagenumber) {
|
public static String[] retrieveInfo(String skillName, int pagenumber) {
|
||||||
String theLocation = leaderboardsDirectory + skillName + ".mcmmo";
|
String theLocation = leaderboardsDirectory + skillName.toLowerCase() + ".mcmmo";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
FileReader file = new FileReader(theLocation);
|
FileReader file = new FileReader(theLocation);
|
||||||
|
Loading…
Reference in New Issue
Block a user