Module Version: v3.1.3
Describe the bug
When placing a template while in template mode and then moving said template, the canvas crashes.
To Reproduce
Steps to reproduce the behavior:
- Make an item with a templat.
- Switch to template mode in the left sidebar
- Use the item and place the template
- Click and move the template.
- Canvas crashes, see error
Error
Uncaught TypeError: Cannot set properties of undefined (setting 'visible')
[Detected 1 package: ckl-advanced-templates-pf1(3.1.3)]
at MeasuredTemplatePFAdvanced._refreshState (foundry.mjs:153598:28)
at MeasuredTemplatePFAdvanced._applyRenderFlags (measured-template-pf-advanced.js:192:38)
at MeasuredTemplatePFAdvanced.applyRenderFlags (foundry.mjs:82143:10)
at #applyRenderFlags (foundry.mjs:95603:44)
at mn.emit (TickerListener.ts:71:47)
at Pt.update (Ticker.ts:427:37)
at Ticker.ts:129:22
Browser:
- Firefox. Tested on chrome as well.
Foundry Version: v13.351
Game System: Pathfinder 1e 11.11
Module Version: v3.1.3
Describe the bug
When placing a template while in template mode and then moving said template, the canvas crashes.
To Reproduce
Steps to reproduce the behavior:
Error
Browser:
Foundry Version: v13.351
Game System: Pathfinder 1e 11.11