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 on Startup with Railcrafts alternative track recipes #195

Open
ThePixelbrain opened this issue Sep 9, 2023 · 0 comments
Open

Crash on Startup with Railcrafts alternative track recipes #195

ThePixelbrain opened this issue Sep 9, 2023 · 0 comments

Comments

@ThePixelbrain
Copy link

The game crashes on launch when Railcraft's alternative track recipes are enabled. They can be enabled in the railcraft/railcraft.cfg config by setting useAltRecipes to true.

Through this config option the Railcraft Track Parts aren't registered by Railcraft. As GT depends on them to create recipes, an invalid recipe with a null output get's generated in this line:

RecipeMaps.BENDING.factory().EUt(15).duration( 200).setShaped(true).input(OrePrefixes.stick, Materials.Aluminium, 6).nonConsumable(GT_Items.Circuit_Integrated.getWithDamage(0, 6)).output(GT_ModHandler.getRCItem("part.rail.standard", 2L)).buildAndRegister();

Crash report: https://pastebin.com/7LNFHRzs

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

No branches or pull requests

2 participants