Fix GroupManager user migration
This commit is contained in:
parent
66f756575a
commit
77e3b351fd
@ -260,6 +260,7 @@ public class MigrationGroupManager extends SubCommand<Object> {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String primaryGroup = primaryGroups.get(e.getKey());
|
||||
if (primaryGroup != null) {
|
||||
@ -268,7 +269,6 @@ public class MigrationGroupManager extends SubCommand<Object> {
|
||||
} catch (ObjectAlreadyHasException ignored) {}
|
||||
user.setPrimaryGroup(primaryGroup);
|
||||
}
|
||||
}
|
||||
|
||||
plugin.getDatastore().saveUser(user);
|
||||
plugin.getUserManager().cleanup(user);
|
||||
|
Loading…
Reference in New Issue
Block a user