At what point do you get this error, and what are you trying to craft?
I believe it's your Crafting: Iron that has the problem, as the <Item Recipe: 21> is what it's falling over on.
I just created a similar item and it worked fine. Are you sure you haven't made any changes to the plugin and might have introduced an error?
Line 445 should read:
var array = JSON.parse('[' + RegExp.$1.match(/\d+/g) + ']');
Edit: I bet you've taken out the $ and it's just RegExp.1.match instead of RegExp.$1.match - if I remove the $ and try to run, I get the same error.
I suggest you re-download the plugin just in case you've made any other changes that could break things.
Not the plugin parameters - the plugin source itself. Did you make changes to the .js file? I edited my post to say I can create the same error if I change line 445 in the plugin/script and remove the $. What other changes did you make to the script/plugin?
Well, that's where the error is. I downloaded the version from the link you gave and it worked. I took out that one character on that one line, and I got the same error that you got. Put the $ back where it belonged, and it worked again.
Can you add the following on a new line before that one?
console.log(obj.note);
and then play to get the error and then take a screenshot of the console? That will verify if it's that item that's causing the problem.
You're absolutely certain the script you're looking at / updating is the one that's in the folder for your project? It's not in a different project or folder somewhere?
I do not know how to add that line or what to add it to. And yes, I am certain that the script is the right one. I only have on project on this laptop. My other pet projects are on a different one.
Edit: Okay, this time for certain I got it working. Once more it was an issue with my notetags. I had moved the Items, Weapons, and Armor around in the lists and forgot to tag them appropriately. Just play tested and it is working fine. To those few who helped with this I greatly appreciate it, and you guys(gals?) rock major league.