diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2018-02-05 03:45:18 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2018-02-05 03:45:18 +1000 |
commit | 9c172bd806cd2d72ba9c499a377dec336026be3b (patch) | |
tree | f4868e5cee90b5dd1d3ba6d2bfd368578e79d268 /src | |
parent | 563036a0ecaa22db650c49ada6959ede11b42ede (diff) | |
download | GT5-Unofficial-9c172bd806cd2d72ba9c499a377dec336026be3b.tar.gz GT5-Unofficial-9c172bd806cd2d72ba9c499a377dec336026be3b.tar.bz2 GT5-Unofficial-9c172bd806cd2d72ba9c499a377dec336026be3b.zip |
$ Fixed issue where ABS recipes didn't use the correct amount of fluids.
Diffstat (limited to 'src')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_BlastSmelter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_BlastSmelter.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_BlastSmelter.java index b6cf38cd9e..aa4f0ce494 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_BlastSmelter.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_BlastSmelter.java @@ -198,9 +198,9 @@ public class RecipeGen_BlastSmelter implements Runnable{ final int r = (int) M.vSmallestRatio[irc]; inputStackCount = inputStackCount+r; if ((M.getComposites().get(irc).getStackMaterial().getState() != MaterialState.SOLID) && ((M.getComposites().get(irc).getDustStack(r) == null) || (M.getComposites().get(irc).getDustStack(r) == ItemUtils.getSimpleStack(ModItems.AAA_Broken)))){ - final int xr = M.getComposites().get(irc).getPartsPerOneHundred(); + final int xr = r; if ((xr > 0) && (xr <= 100)){ - final int mathmatics = (xr <= 10 ? 1000 : ((xr/10)*1000)); + final int mathmatics = (r*1000); componentsFluid = FluidUtils.getFluidStack(M.getComposites().get(irc).getStackMaterial().getFluid(mathmatics), mathmatics); } } |