[maimai2] Fix play record saving when guest is involved

pull/1/head
Dom Eori 2021-08-17 17:35:15 +09:00
parent b660e9e9f5
commit 330519504e
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@ public class UpsertUserAllHandler implements BaseHandler {
long userId = upsertUserAll.getUserId();
UserAll userAll = upsertUserAll.getUpsertUserAll();
// If user is guest, just return OK response.
if ((userId & 281474976710657L) == 281474976710657L) {
return "{\"returnCode\":1,\"apiName\":\"com.sega.maimai2servlet.api.UpsertUserAllApi\"}";
}
// UserData
UserDetail userData;
UserDetail newUserData;