aboutsummaryrefslogtreecommitdiff
path: root/src/Java
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-02-05 03:45:18 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-02-05 03:45:18 +1000
commit9c172bd806cd2d72ba9c499a377dec336026be3b (patch)
treef4868e5cee90b5dd1d3ba6d2bfd368578e79d268 /src/Java
parent563036a0ecaa22db650c49ada6959ede11b42ede (diff)
downloadGT5-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/Java')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_BlastSmelter.java4
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);
}
}