From 62e02f91d25d68477d4291126f1c7536e9d68eb4 Mon Sep 17 00:00:00 2001 From: "walther.johnson" Date: Mon, 7 Jul 2025 17:27:20 -0600 Subject: [PATCH] remote yet more unecessary fallback --- module/applications/sheets/actors/character.mjs | 2 +- module/applications/ui/chatLog.mjs | 2 +- module/documents/item.mjs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 } };