Script crashes the game (When creating/displaying a JS object? Maybe??)
Closed this issue ยท 1 comments
Iris-xii commented
Issue type:
- ๐ Bug
Short description:
This specific script crashes the game when trying to run:
function makeBucket(item) {
// return item.bucket()
return {a: item.amount() , b: item.bucket() }
}
I apologize for the vague issue title, but I actually have no idea what's going on, or which part of this is causing the issue, other than "this makes it happen". As I was just experimenting and poking around, for now I will just, not do that
Steps to reproduce the problem:
- Make that script
- Use integrated dynamics to apply the function to a fluid
- Put the resulting card after applying in a display
Expected behavior:
Not a crash
Versions:
- This mod: IntegratedScripting-1.20.1-1.0.1
- Minecraft: 1.20.1
- Forge: 47.2.21
Log file:
Also, I know it's unrelated but really sweet mod, wanted something like this for integrated dynamics for a while! Not being limited in complexity by the point at which variable card spaghetti overwhelms me is going to be really nice
rubensworks commented
Thanks for reporting!