diff options
author | Antifluxfield <lyj_299792458@163.com> | 2017-09-04 00:09:13 +0800 |
---|---|---|
committer | Antifluxfield <lyj_299792458@163.com> | 2017-09-04 00:09:13 +0800 |
commit | 9cbb9c66a2f63e7e0cb4aceebfc9c93776b82be2 (patch) | |
tree | 9502ccf59257c0d07f94417a5d701b9b107eb1e5 /src | |
parent | 505a9c263e88e5519bade6a3167f829e41e13e64 (diff) | |
download | GT5-Unofficial-9cbb9c66a2f63e7e0cb4aceebfc9c93776b82be2.tar.gz GT5-Unofficial-9cbb9c66a2f63e7e0cb4aceebfc9c93776b82be2.tar.bz2 GT5-Unofficial-9cbb9c66a2f63e7e0cb4aceebfc9c93776b82be2.zip |
Fix logic when working in void dimensions
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DrillerBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 e9b30773a5..7f1cfafb11 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() { |