aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorJohn <Techlone@users.noreply.github.com>2017-03-04 22:51:20 +0500
committerGitHub <noreply@github.com>2017-03-04 22:51:20 +0500
commitad8496d0a2c6b37d5fc3789806ee83c788e52aa7 (patch)
tree33b5b8dcacc6d4c63b930a9e37a3ef1d1837822f /src/main/java/gregtech/common
parentd919d1bc400bc585a02fe6e05593ade37a0276ec (diff)
parentbb5f4705c061e591b6434ef654e63a216e19e183 (diff)
downloadGT5-Unofficial-ad8496d0a2c6b37d5fc3789806ee83c788e52aa7.tar.gz
GT5-Unofficial-ad8496d0a2c6b37d5fc3789806ee83c788e52aa7.tar.bz2
GT5-Unofficial-ad8496d0a2c6b37d5fc3789806ee83c788e52aa7.zip
Merge pull request #9 from Blood-Asp/unstable
Update
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java
index 25add8402b..9f677652fd 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java
@@ -116,7 +116,7 @@ public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack a
}
if(mMaintenanceHatches.size()!=1||mEnergyHatches.size()!=1||mDoorCount!=2||mHullCount>10){return false;}
for(int dX=-x+1;dX<=x-1;dX++){
- for(int dZ=z+1;dZ<=z-1;dZ++){
+ for(int dZ=-z+1;dZ<=z-1;dZ++){
for(int dY=-1;dY>=y+1;dY--){
IGregTechTileEntity tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(dX, dY, dZ);
if(tTileEntity!=null){