Fixed Hope&Fear (#538)

This commit is contained in:
WBHarry 2025-08-03 14:34:33 +02:00 committed by GitHub
parent 7ead70b723
commit 6ef28abd03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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[