Fix logic when working in void dimensions

This commit is contained in:
Antifluxfield 2017-09-04 00:09:13 +08:00
parent 505a9c263e
commit 9cbb9c66a2

View file

@ -133,7 +133,7 @@ public abstract class GT_MetaTileEntity_DrillerBase extends GT_MetaTileEntity_Mu
}
protected boolean canLowerPipe(){
return !checkBlockAndMeta(xPipe, yHead - 1, zPipe, Blocks.bedrock, W);
return yHead > 0 && !checkBlockAndMeta(xPipe, yHead - 1, zPipe, Blocks.bedrock, W);
}
private boolean isHasMiningPipes() {