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
@@ -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