From 9cbb9c66a2f63e7e0cb4aceebfc9c93776b82be2 Mon Sep 17 00:00:00 2001 From: Antifluxfield Date: Mon, 4 Sep 2017 00:09:13 +0800 Subject: [PATCH] Fix logic when working in void dimensions --- .../machines/multi/GT_MetaTileEntity_DrillerBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DrillerBase.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DrillerBase.java index e9b30773..7f1cfafb 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DrillerBase.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DrillerBase.java @@ -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() {