DFreds / dfreds-convenient-effects

A FoundryVTT module that adds easy to use toggleable active effects for any system.
MIT License
47 stars 39 forks source link

Fix for Alt Token Visibility error #242

Closed caewok closed 1 year ago

caewok commented 1 year ago

Alt Token Visibility has a setting to let GMs configure a high (total) cover effect. The configuration for the AE has parent=null and so it throws an error in the DFred's hook for renderActiveEffectConfig. This PR catches that case and simply returns at that point.

DFreds commented 1 year ago

Cool, thanks!