From 20d009789b1f07b14fb47cdbca5cd73204f4cf87 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Tue, 13 Jan 2026 21:43:09 +0500 Subject: [PATCH] Fix card export Signed-off-by: Denis Bykhov --- plugins/card-resources/src/exporter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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