giffyglyph / foundry-5e-monster-maker

A D&D 5e monster maker module for the Foundry VTT. Build new monsters with level-appropriate, balanced stats in seconds.
31 stars 17 forks source link

Can't roll saves/checks from system prompts (TokenHud/item cards) in 5e 1.5.3 #60

Open ra2phoenix opened 3 years ago

ra2phoenix commented 3 years ago

Some recent change in 5e 1.5.3 or slightly earlier causes an error when trying to use anything other than the GMM card to roll saves/checks, which worked previously. Seems to be breaking because GMM monsters don't use proficiency, maybe?

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'hasProficiency') [Detected 5 packages: system:dnd5e, betterrolls5e, lib-wrapper, midi-qol, token-action-hud] at Actor5e.rollAbilitySave (entity.js:1046) at B.🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:466) at Actor5e.actorRollAbilitySave (index.js:178) at B.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:575) at Actor5e.rollAbilitySave (patching.js:270) at B.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:575) at Actor5e.🎁CONFIG.Actor.documentClass.prototype.rollAbilitySave#0 (libWrapper-wrapper.js:163) at RollHandlerBase5e.rollAbilitySaveMacro (bundle.min.js:1) at RollHandlerBase5e._handleMacros (bundle.min.js:1) at RollHandlerBase5e.doHandleActionEvent (bundle.min.js:1) at RollHandlerBase5e.handleActionEvent (bundle.min.js:1)