Fix updating primary groups for players who've never joined the server with SQL storage types (#500)

This commit is contained in:
Luck
2017-10-16 14:43:58 +01:00
Unverified
parent 0f4c057395
commit 6bfeec6d16
26 changed files with 78 additions and 39 deletions
@@ -113,6 +113,7 @@ public class MigrationBungeePerms extends SubCommand<Object> {
}
// Make a LuckPerms user for the one being migrated.
plugin.getStorage().saveUUIDData(u.getUUID(), u.getName()).join();
plugin.getStorage().loadUser(u.getUUID(), u.getName()).join();
me.lucko.luckperms.common.model.User user = plugin.getUserManager().getIfLoaded(u.getUUID());