Fixed /dr without target failing resource update

This commit is contained in:
WBHarry 2026-01-13 22:36:50 +01:00
parent acafd2c8b9
commit 5b61340fee
3 changed files with 4 additions and 2 deletions

View file

@ -261,6 +261,8 @@ export default class DualityRoll extends D20Roll {
}
static async handleTriggers(roll, config) {
if (!config.source?.actor) return;
const updates = [];
const dualityUpdates = await game.system.registeredTriggers.runTrigger(
CONFIG.DH.TRIGGER.triggers.dualityRoll.id,