mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Made booklet chapters initialize in init instead of postinit
This commit is contained in:
parent
d058878d30
commit
83e85b4ac3
2 changed files with 4 additions and 1 deletions
|
@ -120,6 +120,7 @@ public class ActuallyAdditions{
|
|||
InitCrafting.init();
|
||||
InitEntities.init();
|
||||
|
||||
InitBooklet.init();
|
||||
proxy.init(event);
|
||||
|
||||
ModUtil.LOGGER.info("Initialization Finished.");
|
||||
|
|
|
@ -63,9 +63,11 @@ public final class InitBooklet{
|
|||
ActuallyAdditionsAPI.allAndSearch = new BookletEntryAllItems("allAndSearch").setImportant();
|
||||
}
|
||||
|
||||
public static void postInit(){
|
||||
public static void init(){
|
||||
initChapters();
|
||||
}
|
||||
|
||||
public static void postInit(){
|
||||
int chapCount = 0;
|
||||
int pageCount = 0;
|
||||
int infoCount = 0;
|
||||
|
|
Loading…
Reference in a new issue