remove trailing whitespaces

This commit is contained in:
yueh
2015-02-03 12:04:13 +01:00
parent ef3cb0a455
commit b18addbf37
303 changed files with 1526 additions and 1526 deletions
@@ -40,14 +40,14 @@ public class BlockCubeGenerator extends AEBaseBlock
@Override
public boolean onActivated(World w, int x, int y, int z,
EntityPlayer player, int side, float hitX, float hitY, float hitZ) {
TileCubeGenerator tcg = this.getTileEntity(w, x, y, z);
if ( tcg != null )
tcg.click( player );
return true;
}
@Override
public void registerBlockIcons(IIconRegister iconRegistry)
{
+10 -10
View File
@@ -97,40 +97,40 @@ public class ToolDebugCard extends AEBaseItem
IGridNode center = g.getPivot();
this.outputMsg( player, "This Node: " + node.toString() );
this.outputMsg( player, "Center Node: " + center.toString() );
IPathingGrid pg = g.getCache( IPathingGrid.class );
if ( pg.getControllerState() == ControllerState.CONTROLLER_ONLINE )
{
int length = 0;
HashSet<IGridNode> next = new HashSet<IGridNode>();
next.add( node );
int maxLength = 10000;
outer: while ( ! next.isEmpty() )
{
HashSet<IGridNode> current = next;
next = new HashSet<IGridNode>();
for ( IGridNode n : current )
{
if ( n.getMachine() instanceof TileController )
break outer;
for ( IGridConnection c : n.getConnections() )
next.add( c.getOtherSide( n ) );
}
length++;
if ( length > maxLength )
break;
}
this.outputMsg( player, "Cable Distance: " + length );
}
if ( center.getMachine() instanceof PartP2PTunnel )
{
this.outputMsg( player, "Freq: " + ((PartP2PTunnel) center.getMachine()).freq );