fix container items return properly

This commit is contained in:
PrototypeTrousers
2022-03-05 11:15:32 -03:00
parent 447c6debab
commit 3a83c99b1f
2 changed files with 6 additions and 19 deletions
@@ -199,11 +199,6 @@ public class CraftingTreeNode
final IAEItemStack available = inv.extractItems( madeWhat, Actionable.MODULATE, src );
for( IAEItemStack i : pro.getReturnedContainers() )
{
inv.injectItems( i, Actionable.MODULATE, src );
}
if( available != null )
{
this.bytes += available.getStackSize();
@@ -234,11 +229,6 @@ 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 ) )