mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-24 00:11:31 +00:00
Should fix all crashes when login for iOS client
This commit is contained in:
parent
8a655c16eb
commit
15d2795686
@ -346,6 +346,9 @@ public final class DispatchServer {
|
||||
responseData.data.account.uid = account.getId();
|
||||
responseData.data.account.token = account.generateSessionKey();
|
||||
responseData.data.account.email = account.getEmail();
|
||||
if (responseData.data.account.email == null) {
|
||||
responseData.data.account.email = "";
|
||||
}
|
||||
|
||||
Grasscutter.getLogger().info(String.format("[Dispatch] Client %s logged in as %s", req.ip(),
|
||||
responseData.data.account.uid));
|
||||
|
Loading…
Reference in New Issue
Block a user