refactor: Update lowLevelAccess check in importCharacterCardSpec
This commit is contained in:
@@ -592,7 +592,7 @@ async function importCharacterCardSpec(card:CharacterCardV2Risu|CharacterCardV3,
|
|||||||
imported: true,
|
imported: true,
|
||||||
source: card?.data?.extensions?.risuai?.source ?? [],
|
source: card?.data?.extensions?.risuai?.source ?? [],
|
||||||
ccAssets: ccAssets,
|
ccAssets: ccAssets,
|
||||||
lowLevelAccess: risuext.lowLevelAccess ?? false
|
lowLevelAccess: risuext?.lowLevelAccess ?? false
|
||||||
}
|
}
|
||||||
|
|
||||||
if(card.spec === 'chara_card_v3'){
|
if(card.spec === 'chara_card_v3'){
|
||||||
|
|||||||
Reference in New Issue
Block a user