mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
对外部导入的抽卡数据无id情况做兼容
This commit is contained in:
parent
ca8432792c
commit
157200f349
@ -79,7 +79,7 @@ let GachaData = {
|
||||
}
|
||||
}
|
||||
let id = nameMap[ds.name]
|
||||
if (!id || !itemMap[id] || ids[ds.id]) {
|
||||
if (!id || !itemMap[id] || (ds.id && ids[ds.id])) {
|
||||
return true
|
||||
}
|
||||
ids[ds.id] = true
|
||||
|
Loading…
Reference in New Issue
Block a user