Modular Machinery

Modular Machinery

12M Downloads

JSON Variable Name Capitalization

SarahGreyWolf opened this issue ยท 1 comments

commented

I was wondering if there is a specific reason why Variable names in the machine JSON are all lowercase but in the recipe JSON they use camelCase for example:
In the machine JSON "registryname" will error if it has a capital N
and in recipe JSON "registryName" will error if it doesn't have a capital N
if theres a specific reason for doing this then alls good but just wondering why it is.
it really messes with me repeatedly changing back and forth :P

commented

Added handling so it accepts both... :P Not great, but at least "wrong" scripts no longer cause issues.