mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-05 02:47:58 +08:00
[F] Bot renderer crash when b35 or b15 is empty
This commit is contained in:
@@ -64,8 +64,8 @@ class Maimai2(
|
||||
val b35Str = extra["recent_rating"] ?: (400 - "No rating found")
|
||||
val b15Str = extra["recent_rating_new"] ?: (400 - "No rating found")
|
||||
|
||||
val b35 = b35Str.split(',').map { it.split(':') }
|
||||
val b15 = b15Str.split(',').map { it.split(':') }
|
||||
val b35 = b35Str.split(',').filterNot { it.isBlank() }.map { it.split(':') }
|
||||
val b15 = b15Str.split(',').filterNot { it.isBlank() }.map { it.split(':') }
|
||||
|
||||
val musicIdList = listOf(
|
||||
b35.map { it[0].toInt() },
|
||||
|
||||
Reference in New Issue
Block a user