Improved readability of variables
Hopefully improved semantics of variables Fixed typos Added hyphenations
This commit is contained in:
@@ -212,7 +212,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
|
||||
@Override
|
||||
public Iterable<AxisAlignedBB> getSelectedBoundingBoxesFromPool(World w, int x, int y, int z, Entity e, boolean visual)
|
||||
{
|
||||
return cb.getSelectedBoundingBoxsFromPool( false, true, e, visual );
|
||||
return cb.getSelectedBoundingBoxesFromPool( false, true, e, visual );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -43,7 +43,7 @@ public class TileEnergyAcceptor extends AENetworkPowerTile
|
||||
}
|
||||
catch (GridAccessException e)
|
||||
{
|
||||
// null net, probably bads.
|
||||
// null net, probably bad.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -34,16 +34,16 @@ public class TileEnergyCell extends AENetworkTile implements IAEPowerStorage
|
||||
if ( notLoaded() )
|
||||
return;
|
||||
|
||||
byte leel = (byte) (8.0 * (internalCurrentPower / internalMaxPower));
|
||||
byte boundMetadata = (byte) (8.0 * (internalCurrentPower / internalMaxPower));
|
||||
|
||||
if ( leel > 7 )
|
||||
leel = 7;
|
||||
if ( leel < 0 )
|
||||
leel = 0;
|
||||
if ( boundMetadata > 7 )
|
||||
boundMetadata = 7;
|
||||
if ( boundMetadata < 0 )
|
||||
boundMetadata = 0;
|
||||
|
||||
if ( currentMeta != leel )
|
||||
if ( currentMeta != boundMetadata )
|
||||
{
|
||||
currentMeta = leel;
|
||||
currentMeta = boundMetadata;
|
||||
worldObj.setBlockMetadataWithNotify( xCoord, yCoord, zCoord, currentMeta, 2 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user