From 210978fd87a901fda56b202a3f64c7513ee24725 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Sun, 3 May 2026 18:44:48 -0400 Subject: [PATCH] Rerender class sheets when subclass link is changed --- module/applications/sheets/items/subclass.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/applications/sheets/items/subclass.mjs b/module/applications/sheets/items/subclass.mjs index 6daf4a89..e9d8370e 100644 --- a/module/applications/sheets/items/subclass.mjs +++ b/module/applications/sheets/items/subclass.mjs @@ -62,6 +62,10 @@ export default class SubclassSheet extends DHBaseItemSheet { const uuid = item._stats.compendiumSource ?? item.uuid; if (this.document.system.linkedClass !== uuid) { await this.document.update({ 'system.linkedClass': uuid }); + // Re-render all class sheets for instant feedback + for (const app of foundry.applications.instances.values()) { + if (app.document?.type === 'class') app.render(); + } } return; }