From ec5f2feb7eed86b447ab0e983379c25537899e7b Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 7 Mar 2026 15:18:05 -0700 Subject: [PATCH] Ensure that the AttributeManager can still render in v13 due to the _del reference --- module/apps/AttributeManager.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/apps/AttributeManager.mjs b/module/apps/AttributeManager.mjs index 8c1b504..9aad8c3 100644 --- a/module/apps/AttributeManager.mjs +++ b/module/apps/AttributeManager.mjs @@ -136,7 +136,8 @@ export class AttributeManager extends HandlebarsApplicationMixin(ApplicationV2) async _prepareAttributeContext(ctx) { const attrs = []; for (const [id, data] of Object.entries(this.#attributes)) { - if (data == null || data == _del) { continue }; + if (data == null) { continue }; + if (game.release.generation >= 14 && data == _del) continue; attrs.push({ id, name: data.name, @@ -149,7 +150,7 @@ export class AttributeManager extends HandlebarsApplicationMixin(ApplicationV2) }; // #endregion Data Prep - // #region Actions +// #region Actions /** * @param {Event} event */