Moved Event Bus registration to compat module.
This commit is contained in:
parent
2b32e6ecf1
commit
760dea8f94
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,6 @@ public class Core {
|
|||
//Ore Dictionary
|
||||
OreDict.init();
|
||||
proxy.preInit(event);
|
||||
MinecraftForge.EVENT_BUS.register(new RecipesIC2());
|
||||
logHelper.info("PreInitialization Complete");
|
||||
}
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ import ic2.api.item.IC2Items;
|
|||
import ic2.core.ref.ItemName;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.IRecipe;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.event.RegistryEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
|
||||
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
|
||||
|
@ -58,7 +59,7 @@ public class RecipesIC2 implements ICompatModule {
|
|||
|
||||
@Override
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue