diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java b/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java index d183c4c09..71c4ad541 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/ActuallyAdditions.java @@ -120,6 +120,15 @@ public class ActuallyAdditions{ InitCrafting.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(); ItemCoffee.initIngredients(); CrusherCrafting.init(); @@ -130,16 +139,6 @@ public class ActuallyAdditions{ EmpowererHandler.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); ModUtil.LOGGER.info("PostInitialization Finished."); diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java index cef1e72a2..c0bb51a32 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/InitBooklet.java @@ -68,9 +68,7 @@ public final class InitBooklet{ public static void init(){ initChapters(); - } - public static void postInit(){ int chapCount = 0; int pageCount = 0; int infoCount = 0;