Fixed Hope&Fear

This commit is contained in:
WBHarry 2025-08-03 03:00:47 +02:00
parent ef42f1f782
commit f36f839ad9
3 changed files with 30 additions and 9 deletions

View file

@ -223,7 +223,7 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
if (!confirmed) return;
}
const target = event.target.closest('button[data-die-index]');
const target = event.target.closest('[data-die-index]');
let originalRoll_parsed = message.rolls.map(roll => JSON.parse(roll))[0];
const rollClass =
game.system.api.dice[