Fix wrong logic.
This commit is contained in:
parent
3db38a5c53
commit
aef60bbf3b
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ public abstract class GT_MetaTileEntity_DrillerBase extends GT_MetaTileEntity_Mu
|
|||
}
|
||||
|
||||
protected boolean reachingVoidOrBedrock() {
|
||||
return yHead <= 0 || checkBlockAndMeta(xPipe, yHead - 1, zPipe, Blocks.bedrock, 0);
|
||||
return yHead <= 0 || checkBlockAndMeta(xPipe, yHead - 1, zPipe, Blocks.bedrock, W);
|
||||
}
|
||||
|
||||
private boolean isHasMiningPipes() {
|
||||
|
|
|
@ -90,7 +90,7 @@ public abstract class GT_MetaTileEntity_OilDrillBase extends GT_MetaTileEntity_D
|
|||
case 3: workState = STATE_UPWARD; return true;
|
||||
}
|
||||
|
||||
if (!reachingVoidOrBedrock() && tryFillChunkList()) {
|
||||
if (reachingVoidOrBedrock() && tryFillChunkList()) {
|
||||
float speed = .5F+(GT_Utility.getTier(getMaxInputVoltage()) - getMinTier()) *.25F;
|
||||
FluidStack tFluid = pumpOil(speed);
|
||||
if (tFluid != null && tFluid.amount > getTotalConfigValue()){
|
||||
|
|
Loading…
Reference in a new issue