Puts everywhere brackets

This commit is contained in:
thatsIch
2015-04-29 02:30:53 +02:00
parent 23aa8fd72d
commit 64ed05a1b4
465 changed files with 6726 additions and 14 deletions
@@ -51,13 +51,19 @@ public class CraftingCPUCalculator extends MBCalculator
public boolean checkMultiblockScale( WorldCoord min, WorldCoord max )
{
if( max.x - min.x > 16 )
{
return false;
}
if( max.y - min.y > 16 )
{
return false;
}
if( max.z - min.z > 16 )
{
return false;
}
return true;
}
@@ -82,10 +88,14 @@ public class CraftingCPUCalculator extends MBCalculator
IAEMultiBlock te = (IAEMultiBlock) w.getTileEntity( x, y, z );
if( !te.isValid() )
{
return false;
}
if( !storage && te instanceof TileCraftingTile )
{
storage = ( (TileCraftingTile) te ).getStorageBytes() > 0;
}
}
}
}