[BUG] Incompatible with Automated Animations
Opened this issue · 0 comments
strongpauly commented
Module Version: v0.69
Describe the bug
When both modules are enabled, Tokenmagic logs an error in the console and does not load.
To Reproduce
Steps to reproduce the behavior:
- Enable both Token Magic FX and Automated Animations
- Refresh page
Expected behavior
Token Magic FX should load properly
Console error
FilterDistortion.js:5 Uncaught TypeError: undefined. Class extends value undefined is not a constructor or null
[Detected 1 package: tokenmagic]
at FilterDistortion.js:5:52
(anonymous) @ FilterDistortion.js:5
Browser:
- Electron
Foundry Version:
12.331
Game System:
D&D 5e 4.0.4
Additional context
Error is thrown on line FilterDistortion extends PIXI.filters.DisplacementFilter
. When the module loads by itself a deprecation warning is thrown stating PIXI.filters.DisplacementFilter
has been moved to PIXI.DisplacementFilter. Perhaps this is the fix?