1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 10:43:12 +01:00

Deprecate methods in ExperienceAPI

This commit is contained in:
TfT_02
2014-07-08 14:46:43 +02:00
parent 7643edfdcd
commit dc21e18cc2
6 changed files with 312 additions and 5 deletions

View File

@@ -385,6 +385,10 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
return loadPlayerProfile(playerName, "", create);
}
public PlayerProfile loadPlayerProfile(UUID uuid, boolean create) {
return loadPlayerProfile("", uuid.toString(), create);
}
public PlayerProfile loadPlayerProfile(String playerName, String uuid, boolean create) {
BufferedReader in = null;
String usersFilePath = mcMMO.getUsersFilePath();