修复fix之fix

This commit is contained in:
Cheng Jingxuan 2024-03-07 18:32:25 +08:00 committed by GitHub
parent 80395f2315
commit cd3e9e0740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export class Is extends Uninstantable {
*/
// @ts-ignore
static virtualCard(card) {
return !card.isCard || (!("cards" in card) || !Array.isArray(card.cards) || card.cards.length === 0);
return card.isCard && (!("cards" in card) || !Array.isArray(card.cards) || card.cards.length === 0);
}
/**
* 是否是转化牌