Can't pass a function as a parameter to a user-defined function
iridiumlynx opened this issue ยท 0 comments
Intro:
While I was creating some scripts, I encountered this issue.
Issue Description:
Script compiles normally, but causes a weird run-time exception.
What happens:
A java.lang.ArrayOutOfBoundsException
What you expected to happen:
No run-time exceptions.
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
crafttweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
Affected Versions (Do not use "latest"):
- Minecraft: 1.12.2
- Forge: 1.12.2-14.23.5.2768
- Crafttweaker: 1.12-4.1.14
- Using a server: no