Merge pull request #1048 from JohannesGaessler/unstable

[5.09.29] EBF recipe fix
This commit is contained in:
Blood-Asp 2017-05-10 17:16:00 +02:00 committed by GitHub
commit 6398c06506
2 changed files with 6 additions and 1 deletions

View file

@ -69,4 +69,9 @@ public class GT_FluidStack extends FluidStack {
}
return new GT_FluidStack(this);
}
@Override
public String toString() {
return String.format("GT_FluidStack: %s x %s, ID:%s", this.amount, this.getFluid().getName(), this.getFluidID());
}
}

View file

@ -109,7 +109,7 @@ public class GT_MetaTileEntity_ElectricBlastFurnace
}
}
}
FluidStack[] tFluids = Arrays.copyOfRange(tFluidList.toArray(new FluidStack[tInputList.size()]), 0, 1);
FluidStack[] tFluids = tFluidList.toArray(new FluidStack[tFluidList.size()]);
if (tInputList.size() > 0) {
long tVoltage = getMaxInputVoltage();
byte tTier = (byte) Math.max(1, GT_Utility.getTier(tVoltage));