HeroCreationLab / hero-creation-tool

Step-by-step module tool for creating 5e characters in FoundryVTT
MIT License
31 stars 15 forks source link

Equipment does not like packs. #148

Open MythicalRollers opened 1 year ago

MythicalRollers commented 1 year ago

Hello, Sage again with another bug! Tired of me yet? When selecting a pack via the builder I get this error. image 8equipmentStep.ts:398 Uncaught TypeError: undefined. Cannot read properties of undefined (reading 'system') [Detected 1 package: hero-creation-tool] at _Equipment.makeItemOption (equipmentStep.ts:398:19) at _Equipment.addPackToSelection (equipmentStep.ts:254:27) at _Equipment.addItemOrPack (equipmentStep.ts:138:12) at _Equipment.select (equipmentStep.ts:126:10) at HTMLDivElement. (equipmentStep.ts:117:16) at HTMLDivElement.dispatch (jquery.min.js:2:43064) at y.handle (jquery.min.js:2:41048)

MythicalRollers commented 1 year ago

Now I do use the module "Item Containers" which is probably a factor here. As that pack has all the items it comes with "in" it. So maybe this is less of a bug and more of an enhancement. Please play nice with "Item Containers".