Fixed linting

This commit is contained in:
WBHarry 2026-05-01 19:16:25 +02:00
parent 528985a993
commit 64084d821c

View file

@ -185,9 +185,8 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
if (effect.origin) { if (effect.origin) {
if (useOrigin) value = value.replaceAll(/origin\.@/gi, '@'); if (useOrigin) value = value.replaceAll(/origin\.@/gi, '@');
const originEffect = foundry.utils.fromUuidSync(effect.origin); const originEffect = foundry.utils.fromUuidSync(effect.origin);
if (originEffect) if (originEffect) origin = this.#resolveParentDocument(originEffect, Item);
origin = this.#resolveParentDocument(originEffect, Item);
} }
// Get the actor and item documents. Note that actor roll data is inclusive of system roll data // Get the actor and item documents. Note that actor roll data is inclusive of system roll data