fix autocrafting logic bug with container items and processing patterns

fix message reporting missing items having their values swapped
This commit is contained in:
PrototypeTrousers
2022-08-08 19:06:50 -03:00
parent 9fdf0345b3
commit a55dbb061c
5 changed files with 12 additions and 12 deletions
@@ -251,7 +251,7 @@ public class CraftingTreeProcess
{
final IAEItemStack stack = entry.getKey().request( inv, entry.getValue() * amountOfTimes, src );
if( stack.getItem().hasContainerItem( stack.getDefinition() ) )
if( this.details.isCraftable() && stack.getItem().hasContainerItem( stack.getDefinition() ) )
{
final ItemStack is = Platform.getContainerItem( stack.createItemStack() );
final IAEItemStack o = AEItemStack.fromItemStack( is );