mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Fetch origin fetch when in compendium (#2042)
This commit is contained in:
parent
958eaa310c
commit
07b7c82094
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ export default class DhActiveEffect extends foundry.documents.ActiveEffect {
|
|||
*/
|
||||
_getTags() {
|
||||
const tags = [];
|
||||
const originActor = DhActiveEffect.#resolveParentDocument(fromUuidSync(this.origin), Actor);
|
||||
const originActor = DhActiveEffect.#resolveParentDocument(fromUuidSync(this.origin, { strict: false }), Actor);
|
||||
if (originActor && originActor !== this.actor) {
|
||||
tags.push(_loc('DAGGERHEART.EFFECTS.OriginTag', { name: originActor.name }));
|
||||
} else if (!(this.parent instanceof Actor)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue