Fetch origin fetch when in compendium (#2042)

This commit is contained in:
Carlos Fernandez 2026-06-23 17:26:53 -04:00 committed by GitHub
parent 958eaa310c
commit 07b7c82094
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)) {