Might save a single cpu cycle...
This commit is contained in:
parent
1ea065d7df
commit
687dce02a1
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public class GT_MetaTileEntity_OilDrill extends GT_MetaTileEntity_MultiBlockBase
|
||||||
if(tFluid.amount>minExtraction)
|
if(tFluid.amount>minExtraction)
|
||||||
tFluid.amount= Math.max(minExtraction,Math.min(tFluid.amount/50000,1000));
|
tFluid.amount= Math.max(minExtraction,Math.min(tFluid.amount/50000,1000));
|
||||||
extractionSpeed=tFluid.amount;
|
extractionSpeed=tFluid.amount;
|
||||||
GT_Utility.undergroundOil(getBaseMetaTileEntity().getWorld(), getBaseMetaTileEntity().getXCoord()>>4, getBaseMetaTileEntity().getZCoord()>>4,true,tFluid.amount);
|
GT_Utility.undergroundOil(getBaseMetaTileEntity().getWorld(), getBaseMetaTileEntity().getXCoord()>>4, getBaseMetaTileEntity().getZCoord()>>4,true,extractionSpeed);
|
||||||
}
|
}
|
||||||
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
|
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
|
||||||
this.mEfficiencyIncrease = 10000;
|
this.mEfficiencyIncrease = 10000;
|
||||||
|
|
Loading…
Reference in a new issue