Plugin from: https://forums.rpgmakerweb.com/index.php?threads/galvs-simple-crops-galvs-tools-farming.72280/
Using the script copied directly from the demo, when I attempt to update the map's crops for their growth cycle I get this crash. This occurs whether it is called by a map event being triggered by a player action (when activated) or a map event being a parallel process (immediately). It occurs whether or not I have planted something and time has passed (the variable has increased) for it to grow.

If I change the script to be a plugin command instead it doesn't crash but it also doesn't do anything. I've ensured the plant is checking the correct variable for its growth cycle, I've ensured there's no missing tags or codes for the plant, and I even tried copying parts directly from the demo. When run in the demo it functions. When run in my game it crashes. I copied the plugin .js directly from the demo as well so there shouldn't be any issues in that file.
I have experience with both RPGMaker and programming but Javascript is not my language so I don't understand everything I'm reading when I open the .js. Let me know if further information is needed. Thank you in advance for any suggestions and assistance.
Using the script copied directly from the demo, when I attempt to update the map's crops for their growth cycle I get this crash. This occurs whether it is called by a map event being triggered by a player action (when activated) or a map event being a parallel process (immediately). It occurs whether or not I have planted something and time has passed (the variable has increased) for it to grow.

If I change the script to be a plugin command instead it doesn't crash but it also doesn't do anything. I've ensured the plant is checking the correct variable for its growth cycle, I've ensured there's no missing tags or codes for the plant, and I even tried copying parts directly from the demo. When run in the demo it functions. When run in my game it crashes. I copied the plugin .js directly from the demo as well so there shouldn't be any issues in that file.
I have experience with both RPGMaker and programming but Javascript is not my language so I don't understand everything I'm reading when I open the .js. Let me know if further information is needed. Thank you in advance for any suggestions and assistance.