forked from Cookies_Github_mirror/AquaDX
[F] Rival may lead to unable to login the game
This commit is contained in:
@@ -127,7 +127,7 @@ class Maimai2(
|
||||
user = repos.userData.findByCardExtId(myCard.extId).orElse(null) ?: (404 - "User not found")
|
||||
propertyKey = "favorite_rival"
|
||||
}
|
||||
val myRivalList = myRival.propertyValue.split(',').toMutableSet()
|
||||
val myRivalList = myRival.propertyValue.split(',').filter { it.isNotEmpty() }.toMutableSet()
|
||||
|
||||
if (isAdd && myRivalList.size >= 4) {
|
||||
(400 - "Rival list is full")
|
||||
|
||||
Reference in New Issue
Block a user