XeroOl / notitg-mirin

The NotITG Mirin Template. Easily create modfiles using Lua.
https://xerool.github.io/notitg-mirin
The Unlicense
35 stars 16 forks source link

Bad error message #46

Closed XeroOl closed 2 years ago

XeroOl commented 2 years ago

By passing in a number where a string is expected, it's possible to reach this error message, which doesn't tell the user what they're doing wring:

/template.xml:74
attempt to get length of local `name' (a number value)

Found by Daikyi! Thank you very much!

XeroOl commented 2 years ago

The error is caused by using a bad mod name in some mod contexts. It's too costly to verify this sort of thing inside of a perframe, so I'm not going to.