From cf9f43907d79f22824e161cf988bfac49954b8b0 Mon Sep 17 00:00:00 2001 From: Taskeren Date: Sun, 1 Sep 2024 22:41:33 +0800 Subject: [PATCH] Exclude Naquadah Reactor Recipes --- src/main/java/cn/elytra/gtnh/cutcorners/init/GTRecipeInit.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/cn/elytra/gtnh/cutcorners/init/GTRecipeInit.java b/src/main/java/cn/elytra/gtnh/cutcorners/init/GTRecipeInit.java index 2b1c11a..114a119 100644 --- a/src/main/java/cn/elytra/gtnh/cutcorners/init/GTRecipeInit.java +++ b/src/main/java/cn/elytra/gtnh/cutcorners/init/GTRecipeInit.java @@ -4,6 +4,7 @@ import com.github.technus.tectech.TecTech; import com.github.technus.tectech.recipe.EyeOfHarmonyRecipe; import com.github.technus.tectech.recipe.TecTechRecipeMaps; +import goodgenerator.api.recipe.GoodGeneratorRecipeMaps; import gregtech.api.recipe.RecipeMap; import gregtech.api.util.GT_Recipe; import kubatech.api.helpers.ReflectionHelper; @@ -20,6 +21,8 @@ public static void init() { private static void updateGeneralRecipes() { RecipeMap.ALL_RECIPE_MAPS.forEach((s, map) -> { + if(map == GoodGeneratorRecipeMaps.naquadahReactorFuels) return; + map.getAllRecipes().forEach(recipe -> CutCorners.getStrategy().updateGTRecipe(recipe)); }); }