From dda786c0183f6655a4a264edf2d75688e7fe895e Mon Sep 17 00:00:00 2001 From: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Date: Sun, 15 Sep 2024 19:38:40 +0200 Subject: Godforge finale (#3080) Co-authored-by: BucketBrigade <138534411+CookieBrigade@users.noreply.github.com> Co-authored-by: Martin Robertz Co-authored-by: serenibyss <10861407+serenibyss@users.noreply.github.com> --- src/main/java/bartworks/MainMod.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java/bartworks') diff --git a/src/main/java/bartworks/MainMod.java b/src/main/java/bartworks/MainMod.java index acf652c352..66eec8469b 100644 --- a/src/main/java/bartworks/MainMod.java +++ b/src/main/java/bartworks/MainMod.java @@ -72,6 +72,7 @@ import gregtech.api.GregTechAPI; import gregtech.api.enums.Mods; import gregtech.api.recipe.RecipeMap; import gregtech.api.recipe.check.CheckRecipeResultRegistry; +import tectech.loader.recipe.Godforge; @Mod( modid = MainMod.MOD_ID, @@ -202,7 +203,6 @@ public final class MainMod { BioVatLogicAdder.RadioHatch.runBasicItemIntegration(); if (!recipesAdded) { StaticRecipeChangeLoaders.addEBFGasRecipes(); - recipesAdded = true; } // Accept recipe map changes into Buffers @@ -210,5 +210,10 @@ public final class MainMod { .forEach( map -> map.getBackend() .reInit()); + + // because the above code runs so late that I couldn't find anywhere else to call this + if (!recipesAdded) Godforge.initMoltenModuleRecipes(); + + recipesAdded = true; } } -- cgit