Merge pull request #918 from Dimach/unstable
Fix cleanroom bug (machines inside never receive cleanroom instance).
This commit is contained in:
commit
80943cf0ce
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