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

@@ -55,7 +55,7 @@ public class ConvertDatabaseCommand implements CommandExecutor {
UserManager.clearAll();
for (Player player : mcMMO.p.getServer().getOnlinePlayers()) {
PlayerProfile profile = oldDatabase.loadPlayerProfile(player.getName(), false);
PlayerProfile profile = oldDatabase.loadPlayerProfile(player.getUniqueId(), false);
if (profile.isLoaded()) {
mcMMO.getDatabaseManager().saveUser(profile);