-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a list of type integrateddynamics:any
in Ingr.with_items
generated a error message that crashes the game
#1457
Comments
Thanks for reporting! |
FYI, temporary workaround for this issue is to do a |
Wow, what a fast response. |
Sure, lists of type |
Oh yeah. I never clicked the next button enough times to see it can be Any.
But is there a proper way to cast it into a typed list? Or is this the best way to do it? |
No, once a list has been created, there's no way to change the type. |
Issue type:
Steps to reproduce the problem:
Ingr.with_items
and the aforementioned list and empty ingredientsAbout list of type any:
The easiest way of making one is probably using an NBT edit mod to edit a constant variable card?
I'm not sure if a list of type any is intended behavior, if not, I'll make another issue and report how I got one of these through normal operations.
Short description:
(See the "Steps to reproduce" section for context)
The list variable of type any is the key here, with a normal itemstack typed list it works just fine.
The resulting variable in a proxy block or similar shows an empty
ERROR
in the gui (also shows up in the blockentity NBT as an empty (errors: {collection: []}
)), but no error is generated.The resulting variable in a display panel crashes the server when a client has the gui open, with out the gui open you get a
The part integrateddynamics:display_panel at position BlockPos{...} was errored and is removed.
Versions:
Log file:
The crash log of the aforementioned server crash:
crash-2025-01-09_21.46.14-server.txt
The text was updated successfully, but these errors were encountered: