Fixed chat message data for summon actions

This commit is contained in:
WBHarry 2026-07-13 22:39:24 +02:00
parent ac6a7a7f43
commit 4018752020
5 changed files with 32 additions and 23 deletions

View file

@ -256,7 +256,8 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
if (Hooks.call(`${CONFIG.DH.id}.postUseAction`, this, config) === false) return;
if (this.chatDisplay && !config.skips.createMessage && !config.actionChatMessageHandled) await this.toChat();
if (this.chatDisplay && !config.skips.createMessage && !config.actionChatMessageHandled)
await this.toChat(null, config);
return config;
}