Fixed Crash with Fuzzy Upgrade in Export Bus.

This commit is contained in:
AlgorithmX2
2014-06-11 00:22:55 -05:00
parent ef2e3bc7cb
commit 4f4dbc4307
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -13,6 +13,8 @@ import appeng.api.storage.data.IItemList;
import appeng.util.InventoryAdaptor;
import appeng.util.item.AEItemStack;
import com.google.common.collect.ImmutableList;
public class IMEAdaptor extends InventoryAdaptor
{
@@ -44,7 +46,7 @@ public class IMEAdaptor extends InventoryAdaptor
IAEItemStack out = null;
for (IAEItemStack req : getList().findFuzzy( reqFilter, fuzzyMode ))
for (IAEItemStack req : ImmutableList.copyOf( getList().findFuzzy( reqFilter, fuzzyMode ) ))
{
if ( req != null )
{