[maimai2] Fix play record saving when guest is involved

This commit is contained in:
Dom Eori 2021-08-17 17:35:15 +09:00
parent b660e9e9f5
commit 330519504e

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;