Tank-based fluid container interaction fixes. Can't figure out the data request issue.

This commit is contained in:
Aidan C. Brady committed 2014-07-07 15:54:26 -04:00
1 parent 8a8086af3f
commit f67be01658
6 files changed
+135 -122

No files matched your search

@@ -31,23 +31,7 @@ public final class OreDictCache
{
return cachedKeys.get(info);
}
/*
List<Integer> idsFound = new ArrayList<Integer>();
HashMap<Integer, ArrayList<ItemStack>> oreStacks = (HashMap<Integer, ArrayList<ItemStack>>)MekanismUtils.getPrivateValue(null, OreDictionary.class, new String[] {"oreStacks"});
oreStacks = (HashMap<Integer, ArrayList<ItemStack>>)oreStacks.clone();
for(Map.Entry<Integer, ArrayList<ItemStack>> entry : oreStacks.entrySet())
{
for(ItemStack stack : entry.getValue())
{
if(StackUtils.equalsWildcard(stack, check))
{
idsFound.add(entry.getKey());
break;
}
}
}
*/
int[] idsFound = OreDictionary.getOreIDs(check);
List<String> ret = new ArrayList<String>();