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