Assignment replaceable with operator assignment
This commit is contained in:
@@ -240,7 +240,7 @@ public class GridConnection implements IGridConnection, IPathItem
|
||||
{
|
||||
if ( this.getUsedChannels() != this.getLastUsedChannels() )
|
||||
{
|
||||
this.channelData = ( this.channelData & 0xff );
|
||||
this.channelData &= 0xff;
|
||||
this.channelData |= this.channelData << 8;
|
||||
|
||||
if ( this.sideA.getInternalGrid() != null )
|
||||
|
||||
+1
-1
@@ -147,7 +147,7 @@ public class TickManagerCache implements ITickManager
|
||||
this.awake.put( node, tt );
|
||||
|
||||
// configure sort.
|
||||
tt.lastTick = tt.lastTick - tt.request.maxTickRate;
|
||||
tt.lastTick -= tt.request.maxTickRate;
|
||||
tt.current_rate = tt.request.minTickRate;
|
||||
|
||||
// prevent dupes and tick build up.
|
||||
|
||||
@@ -338,7 +338,8 @@ public class CellInventory implements ICellInventory
|
||||
|
||||
private void updateItemCount(long delta)
|
||||
{
|
||||
this.tagCompound.setInteger( ITEM_COUNT_TAG, this.storedItemCount = (int) (this.storedItemCount + delta) );
|
||||
this.storedItemCount += delta;
|
||||
this.tagCompound.setInteger( ITEM_COUNT_TAG, this.storedItemCount );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user