Move most recipes to postInit again

Closes #398
This commit is contained in:
Ellpeck 2016-11-22 22:25:46 +01:00
parent 75dd39ad80
commit b57da71627
2 changed files with 9 additions and 12 deletions

View file

@ -119,6 +119,15 @@ public class ActuallyAdditions{
InitCrafting.init(); InitCrafting.init();
InitEntities.init(); InitEntities.init();
proxy.init(event);
ModUtil.LOGGER.info("Initialization Finished.");
}
@EventHandler
public void postInit(FMLPostInitializationEvent event){
ModUtil.LOGGER.info("Starting PostInitialization Phase...");
InitVillager.init(); InitVillager.init();
ItemCoffee.initIngredients(); ItemCoffee.initIngredients();
CrusherCrafting.init(); CrusherCrafting.init();
@ -129,16 +138,6 @@ public class ActuallyAdditions{
EmpowererHandler.init(); EmpowererHandler.init();
InitBooklet.init(); InitBooklet.init();
proxy.init(event);
ModUtil.LOGGER.info("Initialization Finished.");
}
@EventHandler
public void postInit(FMLPostInitializationEvent event){
ModUtil.LOGGER.info("Starting PostInitialization Phase...");
InitBooklet.postInit();
proxy.postInit(event); proxy.postInit(event);
ModUtil.LOGGER.info("PostInitialization Finished."); ModUtil.LOGGER.info("PostInitialization Finished.");

View file

@ -69,9 +69,7 @@ public final class InitBooklet{
public static void init(){ public static void init(){
initChapters(); initChapters();
}
public static void postInit(){
int chapCount = 0; int chapCount = 0;
int pageCount = 0; int pageCount = 0;
int infoCount = 0; int infoCount = 0;