Mr. Trivel Crafting modification

Hello everyone,

I'm want to make a small change to the crafting script, but I am getting errors.
Mr. Trivel's Crafting script works well, but I want to add in more disciplines. When I do I get an error.
The error is on line 761 return @disciplines[id][0]

crafting.png

The error only shows up when I select the discipline. The others work fine.

I only added in one line to create a new discipline
DISCIPLINES = { 0 => "Crafting one",
1 => "Crafting two",
2 => "Crafting three",
3 => "Crafting four"
}

I do not see anything else in the script that would need to be changed to allow this new (or more) discipline.

Are there any coders that can take a look and tell me if this can be modified?

Thanks

*EDIT* Nevermind (I think), Seems the problem was that I loaded a saved game instead of starting a new game. I hate finding the answer right after making a post.

Original thread: https://forums.rpgmakerweb.com/threads/mr-trivel-crafting-modification.77471/