GregTech 4

GregTech 4

5.7k Downloads

Crash on Startup with Railcrafts alternative track recipes

ThePixelbrain opened this issue ยท 0 comments

commented

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