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
+1 -1
View File
@@ -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
View File
@@ -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