Merge pull request #1128 from Dimach/oil-fix
Removed divider that already applied in Gt_UndergroundOil.
This commit is contained in:
commit
37869e5c6c
2 changed files with 1 additions and 7 deletions
|
@ -2050,7 +2050,7 @@ public class GT_Utility {
|
|||
NBTTagCompound tNBT = getNBT(aStack);
|
||||
String tData = aX + "," + aY + "," + aZ + "," + aDim + ",";
|
||||
if (aFluid!=null)
|
||||
tData += (aFluid.amount / 5000) + "," + aFluid.getLocalizedName() + ",";
|
||||
tData += (aFluid.amount) + "," + aFluid.getLocalizedName() + ",";
|
||||
for (String tString : aOres) {
|
||||
tData += tString + ",";
|
||||
}
|
||||
|
|
|
@ -81,18 +81,12 @@ public class GT_MetaTileEntity_OilDrill extends GT_MetaTileEntity_MultiBlockBase
|
|||
return false;
|
||||
}
|
||||
if (getYOfPumpHead() > 0 && getBaseMetaTileEntity().getBlockOffset(ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetX, getYOfPumpHead() - 1 - getBaseMetaTileEntity().getYCoord(), ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetZ) != Blocks.bedrock) {
|
||||
|
||||
if (completedCycle) {
|
||||
moveOneDown();
|
||||
}
|
||||
tFluid = null;
|
||||
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512 + getMaxInputVoltage() * 4))
|
||||
completedCycle = true;
|
||||
} else if (tFluid.amount < 5000) {
|
||||
stopMachine();
|
||||
return false;
|
||||
} else {
|
||||
tFluid.amount = tFluid.amount / 5000;
|
||||
}
|
||||
long tVoltage = getMaxInputVoltage();
|
||||
byte tTier = (byte) Math.max(1, GT_Utility.getTier(tVoltage));
|
||||
|
|
Loading…
Reference in a new issue