Fixed Multi Recipe Bugs.

This commit is contained in:
AlgorithmX2 2014-07-17 22:03:42 -05:00
parent 4bc881e447
commit 502235dd42
2 changed files with 2 additions and 3 deletions

View file

@ -158,7 +158,7 @@ public class CraftingTreeNode
{
while (pro.possible && l > 0)
{
MECraftingInventory subInv = new MECraftingInventory( inv );
MECraftingInventory subInv = new MECraftingInventory( inv, true, true, true );
pro.request( subInv, 1, src );
subInv.commit( src );

View file

@ -9,7 +9,6 @@ import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import java.util.TreeSet;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
@ -242,7 +241,7 @@ public class CraftingGridCache implements ICraftingGrid, ICraftingProviderHelper
Set<ICraftingPatternDetails> methods = tmpCraft.get( out );
if ( methods == null )
tmpCraft.put( out, methods = new TreeSet() );
tmpCraft.put( out, methods = new HashSet() );
methods.add( details );
sg.postAlterationOfStoredItems( StorageChannel.ITEMS, out, new BaseActionSource() );