Fixes #561
This commit is contained in:
parent
afe222d2c1
commit
f8bd23f1b1
1 changed files with 2 additions and 0 deletions
|
@ -159,6 +159,7 @@ public class GT_MetaTileEntity_AssemblyLine
|
||||||
|
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir, 1, i);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(xDir, 1, i);
|
||||||
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
||||||
|
if (i==0) return false;
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(xDir, 1, i) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(xDir, 1, i) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(xDir, 1, i) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(xDir, 1, i) != 0) {return false;}
|
||||||
}
|
}
|
||||||
|
@ -193,6 +194,7 @@ public class GT_MetaTileEntity_AssemblyLine
|
||||||
|
|
||||||
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, 1, zDir);
|
tTileEntity = aBaseMetaTileEntity.getIGregTechTileEntityOffset(i, 1, zDir);
|
||||||
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
if (!addEnergyInputToMachineList(tTileEntity, 16)){
|
||||||
|
if (i==0) return false;
|
||||||
if (aBaseMetaTileEntity.getBlockOffset(i, 1, zDir) != GregTech_API.sBlockCasings2) {return false;}
|
if (aBaseMetaTileEntity.getBlockOffset(i, 1, zDir) != GregTech_API.sBlockCasings2) {return false;}
|
||||||
if (aBaseMetaTileEntity.getMetaIDOffset(i, 1, zDir) != 0) {return false;}
|
if (aBaseMetaTileEntity.getMetaIDOffset(i, 1, zDir) != 0) {return false;}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue