Skip to content
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

Crash when trying to add items to task #75

Open
screret opened this issue Oct 17, 2022 · 1 comment
Open

Crash when trying to add items to task #75

screret opened this issue Oct 17, 2022 · 1 comment

Comments

@screret
Copy link

screret commented Oct 17, 2022

crash-2022-10-17_14.33.12-client.txt

@Crindigo
Copy link

Crindigo commented Sep 2, 2024

The stack trace is somewhat different nowadays in the GT part, but I was running into the same issue.

In my case, the issue was caused by using a custom material registry in GT, and having no materials where cables, item pipes, or fluid pipes were generated. This caused this.enabledMaterials to be empty in getFallbackType() in BlockCable, BlockItemPipe, and BlockFluidPipe.

I "fixed" it by adding a couple of dummy materials: one with cable and item pipe properties, and another with a fluid pipe property. The item list in BQ still shows missing textures for any prefix with no valid materials (ie spring, exquisite gem, etc), but at least there's no crash.

Not sure where the actual fix for this should be (maybe if GT didn't register items/blocks if no materials exist, or making getFallbackType return dummy data), but at least there's a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants