mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-18 13:24:43 +02:00
Deprecate methods in ExperienceAPI
This commit is contained in:
@ -356,6 +356,10 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
return loadPlayerProfile(playerName, "", create, true);
|
||||
}
|
||||
|
||||
public PlayerProfile loadPlayerProfile(UUID uuid, boolean create) {
|
||||
return loadPlayerProfile("", uuid.toString(), create, true);
|
||||
}
|
||||
|
||||
private PlayerProfile loadPlayerProfile(String playerName, String uuid, boolean create, boolean retry) {
|
||||
if (!checkConnected()) {
|
||||
return new PlayerProfile(playerName, false); // return fake profile if not connected
|
||||
|
Reference in New Issue
Block a user