aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorJohannes Gäßler <updrn@student.kit.edu>2017-05-06 18:01:06 +0200
committerJohannes Gäßler <updrn@student.kit.edu>2017-05-06 18:01:06 +0200
commit0aeab34a568f4392c2a8e659e38abe34077b49fd (patch)
tree3d5d812cc079bd076e8a55ea450faec46bfa0bcd /src/main/java/gregtech/common
parente7d8d5ecbeae51a26971f490595f2cf752f2b285 (diff)
downloadGT5-Unofficial-0aeab34a568f4392c2a8e659e38abe34077b49fd.tar.gz
GT5-Unofficial-0aeab34a568f4392c2a8e659e38abe34077b49fd.tar.bz2
GT5-Unofficial-0aeab34a568f4392c2a8e659e38abe34077b49fd.zip
Fixed the Electric Blast Furnace not recognizing recipes when there is
more than one Fluid input. Also added a String representation for GT_FluidStack that was used for debugging.
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ElectricBlastFurnace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ElectricBlastFurnace.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ElectricBlastFurnace.java
index e82fa34fa0..e0d0ee46d1 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ElectricBlastFurnace.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ElectricBlastFurnace.java
@@ -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));