Fix cleanroom bug (machines inside never receive cleanroom instance).
This commit is contained in:
parent
4280e3dbd3
commit
4ff885458b
1 changed files with 1 additions and 1 deletions
|
@ -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){
|
||||
|
|
Loading…
Reference in a new issue