mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-19 09:39:16 +00:00
Fix NPE in GroupManager migration (#1118)
This commit is contained in:
1 file changed
+1
-1
@@ -170,7 +170,7 @@ public class MigrationGroupManager extends SubCommand<Object> {
|
||||
}
|
||||
|
||||
String lastName = user.getLastName();
|
||||
if (Uuids.parse(lastName).isPresent()) {
|
||||
if (lastName != null && Uuids.parse(lastName).isPresent()) {
|
||||
lastName = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user