Updating a mod to work with the newest build.

I had computer issues and just was able to get back to trying this. I attempted to recook the mod as suggested but it still locks the game up when trying to craft the item. You can spawn it with the spawn code and then it locks the game up. I tried duplicating the mod and play with different settings in it, this did not help but it did reveal an error that is in both the original and the dup. The error is

Any help would be appreciated.

Thank you.