We need both UUID and username to create new.

This commit is contained in:
t00thpick1
2014-07-27 12:57:12 -04:00
parent fc393e1047
commit e6a7c8f5d2
6 changed files with 12 additions and 15 deletions

View File

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