diff --git a/plugins/card-resources/src/exporter.ts b/plugins/card-resources/src/exporter.ts index afe504523da..bf0c607c3d0 100644 --- a/plugins/card-resources/src/exporter.ts +++ b/plugins/card-resources/src/exporter.ts @@ -159,7 +159,7 @@ async function exportType ( required.push(...at.required) } - if (!withoutDesc || _id === card.class.Card) { + if (!withoutDesc && _id !== card.class.Card) { const descendants = h.getDescendants(_id) for (const desc of descendants) { if (h.getClass(desc).extends !== _id) continue