PwQt / magic-items-2

This module for Foundry VTT and specific for the DnD5e system, adds the ability to create magical items with spells or feats that belong to the item itself, such as staffs or magic wands, which will be automatically inherited from the character who owns the item.
https://github.com/PwQt/magic-items-2
MIT License
18 stars 7 forks source link

[BUG] Tidy wire-up code is causing console errors sometimes #71

Closed kgar closed 7 months ago

kgar commented 7 months ago

Module Version: v1.6.2.1

I'm creating this issue to coincide with my PR for the fix for Tidy.

Only sometimes, the Tidy wire-up compatibility code will start throwing errors because of a missing magic item actor during the enabled check.

Here are the errors that appear:

image