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
+2 -2
View File
@@ -173,11 +173,11 @@ public class GridStorageCache implements IStorageGrid
return (IMEMonitor<T>) this.storageMonitors.get( channel );
}
public MECraftingInventory getExtractableList()
public MECraftingInventory getExtractableList( IActionSource src )
{
if( localCache == null )
{
localCache = new MECraftingInventory( getInventory( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ) ), new BaseActionSource(), false, false, false );
localCache = new MECraftingInventory( getInventory( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ) ), src, false, false, false );
}
return localCache;
}