Railcraft

Railcraft

34M Downloads

10.2.0 crashing IC2

Krougal opened this issue · 4 comments

commented

Crash coming from IC2, obsidian dust recipe conflict. Haven't been able to find any info. Although the crash comes from IC2, disabling Railcraft stops it. I'd wager it's the IC2 API in RC vs IC2.
crash-2017-11-03_20.02.59-client.txt
I tried replacing the API in the RC jar myself but no go.
Removing the API folder outright doesn't do it either :(
crash-2017-11-03_20.11.28-client.txt

commented

@Generalcamo Did you add that recipe via ic2?

commented

This can be temporarily worked around by going to railcraft.cfg and editing:
B:obsidian=true
to
B:obsidian=false

commented

The issue lies from https://github.com/Railcraft/Railcraft/blob/mc-1.10.2/src/main/java/mods/railcraft/common/modules/ModuleResources.java#L134-L135

It adds in the recipes in pre-init, thus when IC2 adds it's own recipes in init there is a conflict and because IC2 doesn't try to override recipes, it crashes. If the Railcraft recipes are added in init or post-init (or generally after IC2 adds it's own), then it can set the replace option in addRecipe (here) to true, which should allow the original goal.

commented

fix'd.