Larkinabout / fvtt-token-action-hud-core

Token Action HUD is a repositionable HUD of actions for a selected token.
14 stars 22 forks source link

[BUG] Sections for Magic Items and Items with Spells no longer working in TAH Core v1.5.6 #256

Closed morepurplemorebetter closed 2 months ago

morepurplemorebetter commented 4 months ago

Describe the bug Commit 019cba05ce154ae9d9e1f3665d9cddc9ade233df made it so that my Items with Spells ActionHandlerExtender no longer works. The same goes for the built-in extender for the Magic Items module in the DnD5e TAH module. The sections are still added, but the spells aren't there.

Steps to reproduce

  1. Update TAH core from v1.5.5 to v1.5.6
  2. Select a token for a character with an item that uses either the Item with Spells or Magic Item module.
  3. See in the HUD that the spells gained from either module are no longer visible in their appropriate sections.

Versions:

Additional context If there is a way to edit my extender code to work with this change, than that is also a fine solution, but that would have to be applied to the extender for the Magic Items module as well.

gioppoluca commented 3 months ago

Is possible to have this chosen in a setting and applied automatically without having to edit HUD?

gioppoluca commented 3 months ago

Also after editing the newly created "magicItems" element disappears

Larkinabout commented 2 months ago

Fixed in 1.5.7.