League-of-Foundry-Developers/scene-packer

[BUG] Unable to unpack roll table actions from recently updated Monks Active Tiles

Closed this issue · 1 comments

Describe the bug
Monks Active Tile triggers appears to have changed the structure of RollTable triggers rolltableid field, it is now an object of the form { id: '<your id>', name: 'scene name' } instead of a string

caught (in promise) TypeError: undefined. actionData.rolltableid.startsWith is not a function
[Detected 1 package: scene-packer]
    at ScenePacker.unpackActiveTiles (scene-packer.js:3976:50)
    at ScenePacker.UnpackScene (scene-packer.js:3571:45)
    at async ScenePacker.ProcessScene (scene-packer.js:1040:5)

Versions (please complete the following information):

  • FoundryVTT Core: 11.313 Stable
  • System: dnd5e: 2.4.0
  • Scene Packer Version: 2.7.7
  • Monk's Active Tile Triggers: 11.17

To Reproduce

  • Add a 'Roll Table' action to a tile
  • Pack scene containing tile
  • Unpack scene containing tile into a new world

Expected behavior
Unpack to work

Screenshots
image

Additional context
Add any other context about the problem here.

Resolved with v2.7.8