From 474db9db07bba03fc433ba06a52b7a709c536c4e Mon Sep 17 00:00:00 2001 From: Alkalus <3060479+draknyte1@users.noreply.github.com> Date: Sun, 28 Nov 2021 01:52:50 +0000 Subject: Fixed Tiny dust recipes. --- .../gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java index 773480104a..9cd3fdaca4 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java @@ -57,8 +57,8 @@ public class RecipeGen_DustGeneration extends RecipeGen_Base { final ItemStack outputStacks = material.getDust(material.smallestStackSizeWhenProcessing); - if (ItemUtils.checkForInvalidItems(tinyDust) && ItemUtils.checkForInvalidItems(normalDust)) { - if (RecipeUtils.addShapedRecipe( + if (tinyDust != null && normalDust != null) { + if (RecipeUtils.addShapelessGregtechRecipe( tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, tinyDust, @@ -81,7 +81,7 @@ public class RecipeGen_DustGeneration extends RecipeGen_Base { } } - if (ItemUtils.checkForInvalidItems(smallDust) && ItemUtils.checkForInvalidItems(normalDust)) { + if (smallDust != null && normalDust != null) { if (RecipeUtils.addShapedRecipe( smallDust, smallDust, null, smallDust, smallDust, null, -- cgit