Merge "Miner 2" fix
This commit is contained in:
parent
03af99e716
commit
141d90568a
1 changed files with 3 additions and 2 deletions
|
@ -124,8 +124,9 @@ public class GT_MetaTileEntity_AdvMiner2 extends GT_MetaTileEntity_MultiBlockBas
|
|||
}
|
||||
if (mMineList.isEmpty()) {
|
||||
if(getBaseMetaTileEntity().getBlockOffset(ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetX, getYOfPumpHead() - 1 - getBaseMetaTileEntity().getYCoord(), ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetZ) != Blocks.bedrock){
|
||||
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512L + getMaxInputVoltage() * 4L)) {
|
||||
moveOneDown();
|
||||
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512 + getMaxInputVoltage() * 4)) {
|
||||
if (!moveOneDown())
|
||||
return false;
|
||||
}
|
||||
}else{
|
||||
stopMachine();
|
||||
|
|
Loading…
Reference in a new issue