Fixed overstocking items with export bus/interface
This commit is contained in:
parent
d54cf458b6
commit
ea2037a261
1 changed files with 2 additions and 2 deletions
|
@ -280,9 +280,9 @@ public class AdaptorIInventory extends InventoryAdaptor
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( Platform.isSameItemPrecise( is, left ) && is.stackSize < stackLimit )
|
else if ( Platform.isSameItemPrecise( is, left ) && is.stackSize < perOperationLimit )
|
||||||
{
|
{
|
||||||
int room = stackLimit - is.stackSize;
|
int room = perOperationLimit - is.stackSize;
|
||||||
int used = Math.min( left.stackSize, room );
|
int used = Math.min( left.stackSize, room );
|
||||||
|
|
||||||
if ( modulate )
|
if ( modulate )
|
||||||
|
|
Loading…
Reference in a new issue