Assignment replaceable with operator assignment

This commit is contained in:
thatsIch
2015-03-26 10:41:45 +01:00
parent 8ef286b9d6
commit bd2ee1c5ea
15 changed files with 34 additions and 33 deletions
@@ -137,7 +137,7 @@ public class TileInscriber extends AENetworkPowerTile implements IGridTickable,
for (int num = 0; num < this.inv.getSizeInventory(); num++)
{
if ( this.inv.getStackInSlot( num ) != null )
slot = slot | (1 << num);
slot |= ( 1 << num );
}
data.writeByte( slot );
@@ -408,7 +408,7 @@ public class TileInscriber extends AENetworkPowerTile implements IGridTickable,
src.extractAEPower( powerConsumption, Actionable.MODULATE, PowerMultiplier.CONFIG );
if ( this.processingTime == 0 )
this.processingTime = this.processingTime + speedFactor;
this.processingTime += speedFactor;
else
this.processingTime += TicksSinceLastCall * speedFactor;
}