From 7d50ba409fee1bd9d412ce798c8c995a64bce39a Mon Sep 17 00:00:00 2001 From: WBHarry Date: Fri, 13 Mar 2026 01:25:52 +0100 Subject: [PATCH] Fixed so that damage buttons show up for players on their own messages --- module/dice/dhRoll.mjs | 6 +++++- system.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/module/dice/dhRoll.mjs b/module/dice/dhRoll.mjs index a836a2ea..912824e7 100644 --- a/module/dice/dhRoll.mjs +++ b/module/dice/dhRoll.mjs @@ -143,7 +143,11 @@ export default class DHRoll extends Roll { const metagamingSettings = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.Metagaming); const chatData = await this._prepareChatRenderContext({ flavor, isPrivate, ...options }); - return foundry.applications.handlebars.renderTemplate(template, { ...chatData, metagamingSettings }); + return foundry.applications.handlebars.renderTemplate(template, { + ...chatData, + parent: chatData.parent, + metagamingSettings + }); } /** @inheritDoc */ diff --git a/system.json b/system.json index 34d7e438..b8c4955b 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "daggerheart", "title": "Daggerheart", "description": "An unofficial implementation of the Daggerheart system", - "version": "1.9.0", + "version": "1.9.1", "compatibility": { "minimum": "13.346", "verified": "13.351",