account for interfaces priority affecting which items are extractable

This commit is contained in:
PrototypeTrousers
2022-03-04 22:25:43 -03:00
parent 50470ae3cf
commit 447c6debab
2 changed files with 25 additions and 6 deletions
@@ -234,6 +234,11 @@ public class CraftingTreeNode
this.what.setStackSize( l );
final IAEItemStack available = subInv.extractItems( this.what, Actionable.MODULATE, src );
for( IAEItemStack i : pro.getReturnedContainers() )
{
inv.injectItems( i, Actionable.MODULATE, src );
}
if( available != null )
{
if( !subInv.commit( src ) )