VTTAssets / vtta-party

Provides an instant overview about vital stats of the players active in the current scene
MIT License
4 stars 12 forks source link

pf2e Hazard Actors throws type-error during onHover Hook #18

Open ztilleto opened 4 years ago

ztilleto commented 4 years ago

The following is thrown as you hover over an Actor of type Hazard in the PF2e game system.

foundry.js:2222 Foundry VTT | Error thrown in hooked function bound onHoverToken _call @ foundry.js:2222 callAll @ foundry.js:2180 callOriginalFunction @ Patches.js:57 (anonymous) @ Debug.js:33 _onHoverIn @ foundry.js:12255 _onHoverIn @ foundry.js:38464 callback @ foundry.js:30679 _handleMouseOver @ foundry.js:30796 a.emit @ index.js:181 r.dispatchEvent @ InteractionManager.js:1028 r.processInteractive @ InteractionManager.js:1123 r.onPointerMove @ InteractionManager.js:1461 foundry.js:2223 TypeError: Cannot read property 'value' of undefined at App.getActorDetails (index.js:204) at App.onHoverToken (index.js:308) at Function._call (foundry.js:2220) at Function.callAll [as __furnace_original_callAll] (foundry.js:2180) at Function.callOriginalFunction (Patches.js:57) at Function. (Debug.js:33) at Token._onHoverIn (foundry.js:12255) at Token._onHoverIn (foundry.js:38464) at MouseInteractionManager.callback (foundry.js:30679) at MouseInteractionManager._handleMouseOver (foundry.js:30796)