remote yet more unecessary fallback

This commit is contained in:
walther.johnson 2025-07-07 17:27:20 -06:00
parent bd732afb04
commit 62e02f91d2
3 changed files with 3 additions and 3 deletions

View file

@ -702,7 +702,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
description: card.system.effect,
actions: card.system.actions,
source: {
actor: card.actor?.uuid ?? card.actor?.id ?? null,
actor: card.actor?.uuid ?? null,
item: card.uuid ?? card.id
}
};

View file

@ -340,5 +340,5 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
);
action.use();
}
};
}

View file

@ -131,7 +131,7 @@ export default class DHItem extends foundry.documents.Item {
description: this.system.description,
actions: this.system.actions ?? [],
source: {
actor: this.actor?.uuid ?? this.actor?.id ?? null,
actor: this.actor?.uuid ?? null,
item: this.uuid ?? this.id
}
};