mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-23 07:11:20 +01:00
Fix the NPEs
This commit is contained in:
parent
dd22c709e0
commit
2cd4a1fb45
@ -61,6 +61,10 @@ public class UUIDSaver {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (account == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return account.getName();
|
||||
}
|
||||
|
||||
@ -75,6 +79,10 @@ public class UUIDSaver {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (account == null) {
|
||||
return username;
|
||||
}
|
||||
|
||||
return account.getName();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user