Fixed unnecessary cell saving when cell is full (#3611)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user