Fixes crash with recipe book.

This commit is contained in:
modmuss50 2017-12-29 12:50:10 +00:00
parent 57f3e43ec5
commit 0b6808013d
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
3 changed files with 14 additions and 0 deletions

View file

@ -32,6 +32,7 @@ import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import reborncore.common.util.RebornCraftingHelper;
import reborncore.common.util.RecipeRemover;
import techreborn.Core;
import techreborn.compat.CompatConfigs;
import techreborn.compat.ICompatModule;
import techreborn.init.ModItems;
@ -63,6 +64,8 @@ public class BuildcraftBuildersCompat implements ICompatModule {
'A', "circuitAdvanced",
'E', new ItemStack(ModItems.DIAMOND_DRILL));
}
//The recipebook still knows about the old recipe so crashes, this should update it to have it replaced by the new recipe
Core.proxy.rebuildRecipeBook();
}
@Override