mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Fixed linting
This commit is contained in:
parent
528985a993
commit
64084d821c
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue