diff --git a/src/module/sheets/actor-sheet-vue.mjs b/src/module/sheets/actor-sheet-vue.mjs index d94b128..5a8aa7f 100644 --- a/src/module/sheets/actor-sheet-vue.mjs +++ b/src/module/sheets/actor-sheet-vue.mjs @@ -593,7 +593,7 @@ export class GrimwildActorSheetVue extends VueRenderingMixin(GrimwildBaseVueActo // Handle roll. if (pool.diceNum > 0) { - if (tracker.pool.powerPool) { + if (itemId && tracker && tracker.pool.powerPool) { const options = {}; const rollData = this.actor.getRollData(); const rollDialog = await grimwild.applications.GrimwildRollDialog.open({