forked from External/mage
Some changes to logging and NPE handling.
This commit is contained in:
parent
3e789ccb1f
commit
ddb9c786b4
7 changed files with 44 additions and 17 deletions
|
|
@ -81,7 +81,10 @@ public class UserManager {
|
|||
}
|
||||
|
||||
public User getUser(UUID userId) {
|
||||
return users.get(userId);
|
||||
if (userId != null) {
|
||||
return users.get(userId);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public User findUser(String userName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue