[BUG] TMFX erases template data for Automated Animations
Opened this issue · 1 comments
Module Version: v0.6.1.2
Describe the bug
When having Token Magic FX enabled, templateData returns undefined
and the following error is posted.
To Reproduce
Steps to reproduce the behavior:
- Enable Automated Animations
- Enable Token Magic FX
- Place down a template that is animated thanks to Automated Animations
- See error
Expected behavior
The two working together.
Screenshots
Untitled.mp4
Browser:
- Chrome
Foundry Version: v10.288
Game System: Pathfinder 2e v4.2.6
I did a little digging on my end, and with some upcoming reworks this issue is cleared up for PF2e since I'll be running my stuff off the createMeasuredTemplate
hook.
I still don't understand why it's not working currently, as it runs off the same Hook, just a different part of my module. Only difference being Hooks.on
(new way) vs Hooks.once
(mid-stream current way). In the current version with Token Magic FX active, for some reason the Template Document
that gets passed to Sequencer makes some weird stuff happen, like it can't get the correct data from it. All the data is the same however. I'm stumped