Skip to content

Crash on Startup with Railcrafts alternative track recipes #195

@ThePixelbrain

Description

@ThePixelbrain

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions