So I used a global variable (in session scope) called buildModeEnabled. The build failed, so I was looking for errors in the generated code. After a few minutes I noticed that the variables class was not imported.
MCreator issue tracker has been migrated to GitHub.
Existing tickets have been migrated to GitHub. Please open new tickets on the GitHub tracker instead. If you do not have a GitHub account, all feature requests and bug reports from forums are still considered and checked by the maintainers.