mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-12-14 21:18:46 +01:00
We need both UUID and username to create new.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user