schultzcole / FVTT-Minimal-Rolling-Enhancements-DND5E

Some minimalist enhancements to the core D&D5e rolling workflow. Attempts to stay as close to core as possible while improving convenience.
GNU General Public License v3.0
2 stars 7 forks source link

Compatibility with Mr. Primate's DDB Importer #10

Closed schultzcole closed 3 years ago

schultzcole commented 3 years ago

Reported by threz_👖#6422 on the discord

TypeError: Failed to initialize data for Item5e GcpXNc4dKUNw0Tk6 (Wand of Paralysis): Cannot read property '1' of undefined} at _createMreFlags (initialize-formula-groups.js:41) at Item5e.patchedPrepareData (initialize-formula-groups.js:8) at Item5e.wrapper (shim.js:40) at Item5e._initialize (foundry.js:28969) at new Entity (foundry.js:28958) at new Item (foundry.js:32344) at new Item5e (entity.js:7) at Compendium._toEntity (foundry.js:28481) at foundry.js:28399 at Array.map () _initialize @ foundry.js:28972

@cole This is the error I get when MRE is activated along with the DDB Importer. It's repeated for a number of different items, before this:

foundry.js:28972 TypeError: Failed to initialize data for Item5e lVrnjqBrv90VH96d (Divine Eminence): Cannot read property '1' of undefined} at _createMreFlags (initialize-formula-groups.js:41) at Item5e.patchedPrepareData (initialize-formula-groups.js:8) at Item5e.wrapper (shim.js:40) at Item5e._initialize (foundry.js:28969) at new Entity (foundry.js:28958) at new Item (foundry.js:32344) at new Item5e (entity.js:7) at Compendium._toEntity (foundry.js:28481) at foundry.js:28399 at Array.map () _initialize @ foundry.js:28972

And then the DDB Importer errors.

This issue seems to occur when importing a monster (specifically the "Abjurer")

schultzcole commented 3 years ago

Should be fixed in 0.1.2