Moved OreDict to init phase
This commit is contained in:
parent
8588c90881
commit
f560eb3c39
1 changed files with 12 additions and 12 deletions
|
@ -1091,18 +1091,6 @@ public class Mekanism
|
|||
InfuseRegistry.registerInfuseType(new InfuseType("DIAMOND", MekanismUtils.getResource(ResourceType.INFUSE, "Infusions.png"), 8, 0));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
hooks.hook();
|
||||
|
||||
addIntegratedItems();
|
||||
|
||||
System.out.println("[Mekanism] Hooking complete.");
|
||||
|
||||
proxy.loadSoundHandler();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event)
|
||||
{
|
||||
|
@ -1175,6 +1163,18 @@ public class Mekanism
|
|||
|
||||
//Success message
|
||||
logger.info("[Mekanism] Mod loaded.");
|
||||
|
||||
hooks.hook();
|
||||
|
||||
addIntegratedItems();
|
||||
|
||||
System.out.println("[Mekanism] Hooking complete.");
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
proxy.loadSoundHandler();
|
||||
}
|
||||
|
||||
@ForgeSubscribe
|
||||
|
|
Loading…
Reference in a new issue