Fixed unnecessary cell saving when cell is full (#3611)

This commit is contained in:
Brock
2018-07-15 00:30:33 +10:00
committed by fscan
parent 693487504c
commit 7fe7f4b1c2
2 changed files with 2 additions and 2 deletions
@@ -111,7 +111,7 @@ public class FluidCellInventory extends AbstractCellInventory<IAEFluidStack>
if( l != null )
{
final long remainingItemSlots = this.getRemainingItemCount();
if( remainingItemSlots < 0 )
if( remainingItemSlots <= 0 )
{
return input;
}
@@ -136,7 +136,7 @@ public class ItemCellInventory extends AbstractCellInventory<IAEItemStack>
if( l != null )
{
final long remainingItemCount = this.getRemainingItemCount();
if( remainingItemCount < 0 )
if( remainingItemCount <= 0 )
{
return input;
}