Fixed newMetaEntity using Plasma Generator
This commit is contained in:
parent
31e4330b69
commit
063b62b4ca
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) {
|
public IMetaTileEntity newMetaEntity(IGregTechTileEntity aTileEntity) {
|
||||||
return new GT_MetaTileEntity_LargeTurbine_Plasma(mName);
|
return new GT_MetaTileEntity_LargeTurbine_Diesel(mName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -89,6 +89,7 @@ public class GT_MetaTileEntity_LargeTurbine_Diesel extends GT_MetaTileEntity_Lar
|
||||||
if (aFluids.size() >= 1) {
|
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!
|
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);
|
int fuelValue = getFuelValue(firstFuelType);
|
||||||
|
System.out.println(fuelValue);
|
||||||
actualOptimalFlow = (int) ((aOptFlow + fuelValue - 1) / 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.
|
int remainingFlow = (int) (actualOptimalFlow * 1.25f); // Allowed to use up to 125% of optimal flow. Variable required outside of loop for multi-hatch scenarios.
|
||||||
|
|
Loading…
Reference in a new issue