cswendrowski / FoundryVTT-Custom-CSS

Allows a user to setup custom CSS rules in a FoundryVTT world
GNU General Public License v3.0
11 stars 9 forks source link

Update module.json #22

Closed taraburguiere closed 1 year ago

taraburguiere commented 1 year ago

The v11.306 update to Foundry caused the module not to load and gave this error message:

[error] Metadata validation failed for module "custom-css": pkgs is not iterable

I did some digging and it looks like the issue was that it expects the relationships.requires property in module.json to be an array of objects, not just a single object. This fixes the issue and allows the module to load again.

schnoodly commented 1 year ago

Thank you for this, I was actually just starting to look into it myself. I can verify this works.