mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 21:09:45 +00:00
Tank-based fluid container interaction fixes. Can't figure out the data request issue.
This commit is contained in:
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>();
|
||||
|
||||
Reference in new issue
Block a user