Gradle Task Cannot Run Because of Code That MCreator Itself Did Incorrectly

Issue description

I created a GUI for an entity that I created. When I tried to test it using the test client, this came up. 

See here:

I am not sure how to fix the errors, as I did not type that code. That code was auto generated by MCreator. I also cannot fix it as I don't know Java. The specific mod element that is causing a problem is the Piglin Villager GUI.

Issue comments

 I also cannot fix it as I don't know JavaScript.

This is Java not JavaScript.

Also read tracker rules:

When possible, attach your MCreator workspace (preferably a minimal example workspace required to reproduce the bug; use File -> Export workspace to a shareable ZIP...), game or build logs (full logs, do not crop them, in text format, screenshots of logs are not acceptable) from the Console tab or terminal and steps to reproduce the bug in your workspace. If logs are long, use service such as Pastebin to host the log and provide the link to the log from the ticket. Please specify which mod elements to check in your workspace too, if applicable.

Woops, forgot this thread existed. Turns out the problem was the text I had in the GUI.

Thanks anyway!