delay container item return when simulating crafting tree

This commit is contained in:
PrototypeTrousers
2022-03-04 21:30:26 -03:00
parent b3bfbd0b58
commit 993be652c9
4 changed files with 27 additions and 5 deletions
@@ -199,6 +199,11 @@ 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();