aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/loaders
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2021-11-28 01:52:50 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2021-11-28 01:52:50 +0000
commit474db9db07bba03fc433ba06a52b7a709c536c4e (patch)
tree0c964b6fc1c7d6ca022e0469b4017fc4b3ac7f24 /src/Java/gtPlusPlus/xmod/gregtech/loaders
parentc8e15b35fa6060e4c9fd45a61c1837e0289ee000 (diff)
downloadGT5-Unofficial-474db9db07bba03fc433ba06a52b7a709c536c4e.tar.gz
GT5-Unofficial-474db9db07bba03fc433ba06a52b7a709c536c4e.tar.bz2
GT5-Unofficial-474db9db07bba03fc433ba06a52b7a709c536c4e.zip
Fixed Tiny dust recipes.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/loaders')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_DustGeneration.java6
1 files changed, 3 insertions, 3 deletions
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,