Merge branch 'unstable' of https://github.com/Blood-Asp/GT5-Unofficial into unstable

This commit is contained in:
Techlone 2017-05-10 21:39:33 +05:00
commit 21f2b50507
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));