jessev14 / health-monitor

Foundry VTT module that implements simple tracking of changes to HP.
MIT License
5 stars 2 forks source link

Issue with "Show Damage Immunities, Resistances, and Vulnerabilities" setting #10

Closed 413120 closed 1 year ago

413120 commented 1 year ago

When using the setting "Show Damage Immunities, Resistances, and Vulnerabilities" the damage is no longer output to chat with the following error in the console.

main.js:217 Uncaught (in promise) TypeError: undefined. actor.system.traits.di.value.join is not a function [Detected 2 packages: health-monitor, midi-qol] at Object.fn (main.js:217:49) at #call (foundry.js:730:20) at Hooks.call (foundry.js:712:38) at #preUpdateDocumentArray (foundry.js:13606:44) at async ClientDatabaseBackend._updateDocuments (foundry.js:13383:22) at async Actor5e.updateDocuments (commons.js:7892:23) at async Actor5e.update (commons.js:7989:23) at async Promise.allSettled (index 0) at async createGMReverseDamageCard (GMAction.js:484:18) at async Object.createReverseDamageCard (GMAction.js:308:7) at async timedAwaitExecuteAsGM (GMAction.js:70:10) at async applyTokenDamageMany (utils.js:760:25) at async processDamageRoll (utils.js:903:19) at async Workflow._next (workflow.js:679:6) at async Workflow.next (workflow.js:248:10) at async Workflow.next (workflow.js:248:10) at async Workflow.next (workflow.js:248:10) at async Workflow.next (workflow.js:248:10)