[GregTech] Centrifuge Recipe Crash[code]

  • For some reason my code does not seem to work on launch..


    The Code:

    Quote

    GregTech_API.addCentrifugeRecipe( new ItemStack(GTOres_Items.DustItem, 1, 0), 1, GregTech_API.getGregTechItem(1, 2, 241), GregTech_API.getGregTechItem(1, 1, 12), GregTech_API.getGregTechItem(1, 1, 22), GT_ModHandler.getIC2Item("airCell", 1), 100);





    The Error:


    Any ideas/solutions appreciated?</init>

  • Oh thanks it wasnt null i was just initiating the item and the recipe both in the load stage of FML. Changed it so the blocks and items were preInit and the recipe is loaded in the load stage. Its all working now thanks. Must of just not seen the error.