Fixed error being thrown when canceling a /dr roll

This commit is contained in:
WBHarry 2026-01-24 20:52:27 +01:00
parent a78ef1f70c
commit c42f876d4f

View file

@ -107,6 +107,7 @@ export const enrichedDualityRoll = async (
if (target) {
const result = await target.diceRoll(config);
if (!result) return;
result.resourceUpdates.updateResources();
} else {
// For no target, call DualityRoll directly with basic data