Made booklet chapters initialize in init instead of postinit

This commit is contained in:
Ellpeck 2016-11-12 23:29:36 +01:00
parent d058878d30
commit 83e85b4ac3
2 changed files with 4 additions and 1 deletions

View file

@ -120,6 +120,7 @@ public class ActuallyAdditions{
InitCrafting.init(); InitCrafting.init();
InitEntities.init(); InitEntities.init();
InitBooklet.init();
proxy.init(event); proxy.init(event);
ModUtil.LOGGER.info("Initialization Finished."); ModUtil.LOGGER.info("Initialization Finished.");

View file

@ -63,9 +63,11 @@ public final class InitBooklet{
ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllItems("allAndSearch").setImportant(); ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllItems("allAndSearch").setImportant();
} }
public static void postInit(){ 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;