This commit is contained in:
PrototypeTrousers
2022-03-05 23:22:52 -03:00
parent 3a83c99b1f
commit 9c821cb015
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ aebuild=7
aegroup=appeng aegroup=appeng
aebasename=appliedenergistics2 aebasename=appliedenergistics2
extended=extended_life extended=extended_life
extendedversion=v50j extendedversion=v50k
######################################################### #########################################################
# Versions # # Versions #
######################################################### #########################################################
@@ -296,8 +296,7 @@ public class CraftingTreeProcess
// request and remove inputs... // request and remove inputs...
for( final Entry<CraftingTreeNode, Long> entry : this.nodes.object2LongEntrySet() ) for( final Entry<CraftingTreeNode, Long> entry : this.nodes.object2LongEntrySet() )
{ {
final IAEItemStack craftableStack = entry.getKey().getStack( entry.getValue() ); final IAEItemStack stack = entry.getKey().request( inv, entry.getValue() * amountOfTimes, src );
final IAEItemStack stack = entry.getKey().request( inv, craftableStack.getStackSize() * amountOfTimes, src );
if( containerItems != null && !this.containerItems.findFuzzy( stack, FuzzyMode.IGNORE_ALL ).isEmpty() ) if( containerItems != null && !this.containerItems.findFuzzy( stack, FuzzyMode.IGNORE_ALL ).isEmpty() )
{ {
@@ -311,9 +310,11 @@ public class CraftingTreeProcess
} }
} }
if( containerItems != null) { if( containerItems != null )
for (IAEItemStack i : containerItemsList) { {
inv.injectItems(i, Actionable.MODULATE, src); for( IAEItemStack i : containerItemsList )
{
inv.injectItems( i, Actionable.MODULATE, src );
} }
} }