diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2018-05-22 17:44:06 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2018-05-22 17:44:06 +1000 |
commit | 65f96ccd3a3e1fbecb46c6e334a574d73d1ad017 (patch) | |
tree | 5de54848fd6c9d7ff5bb7a05c59aeaa9850e3569 /src/Java/gtPlusPlus/GTplusplus.java | |
parent | b439f9c8ae23b9ceed8dd73d540afb6b1192f4d7 (diff) | |
download | GT5-Unofficial-65f96ccd3a3e1fbecb46c6e334a574d73d1ad017.tar.gz GT5-Unofficial-65f96ccd3a3e1fbecb46c6e334a574d73d1ad017.tar.bz2 GT5-Unofficial-65f96ccd3a3e1fbecb46c6e334a574d73d1ad017.zip |
% Updated Mass Fabricator Tooltip.
$ Possibly fixed invalid recipes generating in the Large Machines.
Diffstat (limited to 'src/Java/gtPlusPlus/GTplusplus.java')
-rw-r--r-- | src/Java/gtPlusPlus/GTplusplus.java | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/GTplusplus.java b/src/Java/gtPlusPlus/GTplusplus.java index dcb3baee8e..d992539374 100644 --- a/src/Java/gtPlusPlus/GTplusplus.java +++ b/src/Java/gtPlusPlus/GTplusplus.java @@ -215,14 +215,18 @@ public class GTplusplus implements ActionListener { //Large Centrifuge generation for (GT_Recipe x : GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.mRecipeList) { if (x != null) { - CORE.RA.addMultiblockCentrifugeRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances, x.mDuration, x.mEUt, x.mSpecialValue); + if (ItemUtils.checkForInvalidItems(x.mInputs)) { + CORE.RA.addMultiblockCentrifugeRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances, x.mDuration, x.mEUt, x.mSpecialValue); + } } } //Large Electrolyzer generation for (GT_Recipe x : GT_Recipe.GT_Recipe_Map.sElectrolyzerRecipes.mRecipeList) { if (x != null) { - CORE.RA.addMultiblockElectrolyzerRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances, x.mDuration, x.mEUt, x.mSpecialValue); + if (ItemUtils.checkForInvalidItems(x.mInputs)) { + CORE.RA.addMultiblockElectrolyzerRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances, x.mDuration, x.mEUt, x.mSpecialValue); + } } } @@ -234,7 +238,9 @@ public class GTplusplus implements ActionListener { FluidStack[] y = new FluidStack[len + 1]; int slot = y.length - 1; y[slot] = FluidUtils.getFluidStack("cryotheum", mTime); - CORE.RA.addAdvancedFreezerRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances, x.mDuration, x.mEUt, x.mSpecialValue); + if (ItemUtils.checkForInvalidItems(x.mInputs)) { + CORE.RA.addAdvancedFreezerRecipe(x.mInputs, x.mFluidInputs, x.mFluidOutputs, x.mOutputs, x.mChances, x.mDuration, x.mEUt, x.mSpecialValue); + } } } @@ -247,7 +253,7 @@ public class GTplusplus implements ActionListener { mapKey++; } }*/ - + } protected void dumpGtRecipeMap(final GT_Recipe_Map r) { |