From e097d1d9214796f8f07bb299d6aa46ed694f5d59 Mon Sep 17 00:00:00 2001 From: DStrand1 Date: Fri, 31 Dec 2021 13:02:24 -0600 Subject: [PATCH] Fix some recipe log warnings --- .../loaders/recipe/handlers/PipeRecipeHandler.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/gregtech/loaders/recipe/handlers/PipeRecipeHandler.java b/src/main/java/gregtech/loaders/recipe/handlers/PipeRecipeHandler.java index e589eb46be9..13f5e5cdf77 100644 --- a/src/main/java/gregtech/loaders/recipe/handlers/PipeRecipeHandler.java +++ b/src/main/java/gregtech/loaders/recipe/handlers/PipeRecipeHandler.java @@ -131,9 +131,11 @@ private static void processPipeHuge(OrePrefix pipePrefix, Material material, IMa .EUt(6 * getVoltageMultiplier(material)) .buildAndRegister(); - ModHandler.addShapedRecipe(String.format("huge_%s_pipe", material.toString()), - pipeStack, "XhX", "X X", "XwX", - 'X', new UnificationEntry(OrePrefix.plateDouble, material)); + if (OrePrefix.plateDouble.doGenerateItem(material)) { + ModHandler.addShapedRecipe(String.format("huge_%s_pipe", material.toString()), + pipeStack, "XhX", "X X", "XwX", + 'X', new UnificationEntry(OrePrefix.plateDouble, material)); + } } private static void processPipeQuadruple(OrePrefix pipePrefix, Material material, FluidPipeProperties property) {