mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Fix a bug where sometimes NEI would crash when looking at recipes before the book was opened (or something like that).
Fixes https://github.com/Ellpeck/ActuallyAdditions/issues/23
This commit is contained in:
parent
4eb92a4e71
commit
25401df669
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@ import cpw.mods.fml.common.SidedProxy;
|
|||
import cpw.mods.fml.common.event.*;
|
||||
import ellpeck.actuallyadditions.achievement.InitAchievements;
|
||||
import ellpeck.actuallyadditions.blocks.InitBlocks;
|
||||
import ellpeck.actuallyadditions.booklet.InitBooklet;
|
||||
import ellpeck.actuallyadditions.communication.InterModCommunications;
|
||||
import ellpeck.actuallyadditions.config.ConfigurationHandler;
|
||||
import ellpeck.actuallyadditions.crafting.CrusherCrafting;
|
||||
|
@ -103,6 +104,8 @@ public class ActuallyAdditions{
|
|||
TreasureChestHandler.init();
|
||||
ReconstructorRecipeHandler.init();
|
||||
InitForeignPaxels.init();
|
||||
|
||||
InitBooklet.init();
|
||||
proxy.postInit(event);
|
||||
|
||||
ModUtil.LOGGER.info("PostInitialization Finished.");
|
||||
|
|
|
@ -137,7 +137,7 @@ public class InitBooklet{
|
|||
new BookletChapter("batteries", entryItemsRF, new ItemStack(InitItems.itemBatteryTriple), new PageTextOnly(1), new PageCrafting(2, ItemCrafting.recipeBattery).setNoText(), new PageCrafting(3, ItemCrafting.recipeBatteryDouble).setNoText(), new PageCrafting(4, ItemCrafting.recipeBatteryTriple).setNoText(), new PageCrafting(5, ItemCrafting.recipeBatteryQuadruple).setNoText(), new PageCrafting(6, ItemCrafting.recipeBatteryQuintuple).setNoText());
|
||||
}
|
||||
|
||||
static{
|
||||
public static void init(){
|
||||
initChapters();
|
||||
countWords();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue