ardittristan / VTTNPCGen

MIT License
8 stars 13 forks source link

attributeSortOrder Undefined #20

Closed Selyam12 closed 3 years ago

Selyam12 commented 3 years ago

I get an error on line 884 of NPCGenerator.js when generating an npc : attributeSortOrder of object is undefined, leading to error on foreach image

Does it mean the classesJSON is not correctly defined ? Do I have to uninstall and reinstall to have the correct json ?

Thanks for your help.

ardittristan commented 3 years ago

you seem to have min/max stats enabled without adding it to the classesJSON (if you have added custom classes). if you want'to use the min/max you should add the attributeSortOrder property to the classesJSON (updated the examples since it got recently added).

or if you don't need it you can simply disable the min/max checkbox on the generator

Selyam12 commented 3 years ago

Ok thanks