Crash on editing semi-applied operators in (portable?) logic programmer
dovisutu opened this issue ยท 1 comments
Issue type:
- ๐ Bug
Short description:
Attempting to edit a variable card containing a semi-applied (via the apply operator, aka currying) operator in portable logic programmer (haven't tested with the block version) crashes the game.
Seems to clone (or at least relate to) #1527, which purportedly should be fixed in 1.27.6, but still exist, albeit in a different form (seems not an NPE as far as I can tell).
Steps to reproduce the problem:
- In a portable logic programmer, create a Variable Card containing a long
0, and a Variable Card containing an operatorConstant - select operator
apply, use the operator as the first argument and the long as the second, and write the result (an operator generated from currying) into a Variable Card - Take the Variable Card and attempt to edit it by putting it back into the portable logic programmer
Expected behaviour:
The game don't crash.
Versions:
- This mod: integrateddynamics-1.21.1-neoforge-1.27.6
- Minecraft: 1.21.1
- Mod loader version: neoforge-21.1.192
Technically the environment I used to reproduce this also contains integratedrest-1.21.1-neoforge-1.1.15-160, but I didn't bother to remove it because it seemed unlikely to be related and I've triggered the crash without it once. Would try to reproduce without it should this turn out to be absolutely necessary.
Log file:
latest.log: https://pastebin.com/qNGH9pFR
Crash report: https://pastebin.com/zUJdjBQT