mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-01 14:07:56 +01:00
Don't set username to null when a user is requested by uuid alone
This commit is contained in:
parent
233324f6c9
commit
6df64a29dc
@ -59,7 +59,9 @@ public abstract class AbstractUserManager<T extends User> extends AbstractManage
|
||||
@Override
|
||||
public T getOrMake(UUID id, String username) {
|
||||
T user = getOrMake(id);
|
||||
if (username != null) {
|
||||
user.setUsername(username, false);
|
||||
}
|
||||
return user;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user