diff --git a/module/applications/sheets/actors/character.mjs b/module/applications/sheets/actors/character.mjs index f0ddc0ed..5ba6a5a3 100644 --- a/module/applications/sheets/actors/character.mjs +++ b/module/applications/sheets/actors/character.mjs @@ -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 } }; diff --git a/module/applications/ui/chatLog.mjs b/module/applications/ui/chatLog.mjs index 06aa24c5..114718aa 100644 --- a/module/applications/ui/chatLog.mjs +++ b/module/applications/ui/chatLog.mjs @@ -340,5 +340,5 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo ); action.use(); - } + }; } diff --git a/module/documents/item.mjs b/module/documents/item.mjs index a8a4a6d8..76dabef3 100644 --- a/module/documents/item.mjs +++ b/module/documents/item.mjs @@ -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 } };