espositos / fvtt-tokenactionhud

Creating a token action HUD module for Foundry VTT
31 stars 38 forks source link

0.8.x - HUD fails if showing Conditions is enabled. #237

Closed Battenhatch closed 3 years ago

Battenhatch commented 3 years ago

If you enabe the ability to show and toggle conditions in the HUD, it fails for all tokens.

Uncaught (in promise) TypeError: actor.effects.entries.some is not a function at dnd5e-actions.js:633 at Array.forEach () at ActionHandler5e._addConditionsSubcategory (dnd5e-actions.js:629) at ActionHandler5e._getConditionsList (dnd5e-actions.js:559) at ActionHandler5e.doBuildActionList (dnd5e-actions.js:40) at ActionHandler5e.buildActionList (actionHandler.js:32) at TokenActionHUD.updateHud (tokenactionhud.js:386)

espositos commented 3 years ago

Should be fixed, but please let me know if it's not.