Fix blank users not receiving group permission updates

This commit is contained in:
Luck 2016-09-06 22:28:37 +01:00
parent aab73a8d81
commit d84767af68
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -64,8 +64,8 @@ public abstract class UserManager extends AbstractManager<UUID, User> {
// This isn't just a black user. we shouldn't override in that case. // This isn't just a black user. we shouldn't override in that case.
to.setNodes(from.getNodes()); to.setNodes(from.getNodes());
to.setPrimaryGroup(from.getPrimaryGroup()); to.setPrimaryGroup(from.getPrimaryGroup());
to.refreshPermissions();
} }
to.refreshPermissions();
} }
/** /**