Fixes #2626: Subtract the correct amount from the remaining amount.
This commit is contained in:
parent
6c91e852ec
commit
3eae4a7d19
|
@ -149,7 +149,7 @@ class ItemHandlerAdapter implements IMEInventory<IAEItemStack>, IBaseMonitor<IAE
|
|||
}
|
||||
while( extracted != null && remainingCurrentSlot > 0 );
|
||||
|
||||
remainingSize -= remainingCurrentSlot;
|
||||
remainingSize -= stackInInventorySlot.stackSize - remainingCurrentSlot;
|
||||
|
||||
// Done?
|
||||
if( remainingSize <= 0 )
|
||||
|
|
Loading…
Reference in New Issue