Fixed newMetaEntity using Plasma Generator

This commit is contained in:
Muramasa 2016-04-17 03:05:58 +01:00
parent 31e4330b69
commit 063b62b4ca

View file

@ -55,7 +55,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
@Override
public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) {
return new GT_MetaTileEntity_LargeTurbine_Plasma(mName);
return new GT_MetaTileEntity_LargeTurbine_Diesel(mName);
}
@Override
@ -89,6 +89,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
if (aFluids.size() >= 1) {
FluidStack firstFuelType = new FluidStack(aFluids.get(0), 0); // Identify a SINGLE type of fluid to process. Doesn't matter which one. Ignore the rest!
int fuelValue = getFuelValue(firstFuelType);
System.out.println(fuelValue);
actualOptimalFlow = (int) ((aOptFlow + fuelValue - 1) / fuelValue);
int remainingFlow = (int) (actualOptimalFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.